Sets a value for the specified key in the specified properties object.
The specified value will replace any existing value.
#include "am_properties.h" AM_EXPORT am_status_t am_properties_set(am_properties_t properties, const char *key, const char *value);
This function takes the following parameters:
The specified properties object.
Pointer to the key being modified.
Pointer to the value to associate with the specified key.
This function returns one of the following values of the am_status_t enumeration (defined in the <am_types.h> header file):
If no error is detected.
If the properties, key, or value argument is NULL.
If unable to allocate memory to store the new key/value.