updateMetadata

format

boolean updateMetadata(String key, String newValue)

description

Assigns a new value to an existing metadata item.

parameters

key - the unique key of the metadata item

 

newValue - the value to be assigned to the metadata item

returns

TRUE -if the update was successful

 

FALSE -if the update failed

throws

The updateMetadata() method does not throw any exceptions.