AddMetadata
Function Usage
Mounts metadata to MxpiBuffer to transfer structured data between plugins.
Prototype
1 | APP_ERROR MxpiMetadataManager::AddMetadata(const std::string& key, std::shared_ptr<void> metadata); |
Parameters
Parameter |
Description |
|---|---|
key |
Key name of the metadata to be mounted to the buffer. |
metadata |
Metadata to be mounted to the buffer. |
Response Parameters
Data Structure |
Description |
|---|---|
APP_ERROR |
For details about the returned error codes, see APP_ERROR Description. |
Parent topic: MxpiMetadataManager