Media Server 12.13

# AddObjectClassMetadata

Adds custom metadata (a key-value pair) to an object class.

Type: synchronous

Parameter | Description | Required
--- | --- | ---
`recognizer` | The name of the recognizer that contains the class. | Yes
`identifier` | The identifier of the class that you want to add metadata to. | Yes
`key` | The key to add (maximum 254 bytes). | Yes
`value` | The value to add (maximum 254 bytes). | Yes

## Example

The following example adds metadata to a class:

    /action=AddObjectClassMetadata&recognizer=RoadScene
                                  &identifier=car
                                  &key=key
                                  &value=value

## Response

    <autnresponse>
      <action>ADDOBJECTCLASSMETADATA</action>
      <response>SUCCESS</response>
      <responsedata></responsedata>
    </autnresponse>

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.13 | Last updated October 2022

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL Media Server 12.13

Topic Title: AddObjectClassMetadata