addMetadata

format

boolean addMetadata(String key, String value)

description

Adds a metadata item to the MediaObject.

parameters

key - the unique key of the metadata item

 

value - the value of the metadata item

returns

TRUE - if the addition was successful

 

FALSE - if the addition failed

throws

The addMetadata() method does not throw any exceptions.