mediaplayer_set_metadata()

Sets the metadata of the currently playing track.

Synopsis:

#include <bps/mediaplayer.h>
 
BPS_API int mediaplayer_set_metadata(mediaplayer_metadata_t *metadata)

Since:

BlackBerry 10.0.0

Arguments:

metadata

The metadata of the currently playing track.

Library:

libbps (For the qcc command, use the -l bps option to link against this library)

Description:

The mediaplayer_set_metadata() function sets the metadata of the currently playing track.

Returns:

BPS_SUCCESS when the function completes successfully, BPS_FAILURE with errno value set otherwise.