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>