mediaplayer_metadata_set_track()

Set the track in a metadata structure.

Synopsis:

#include <bps/mediaplayer.h>
 
BPS_API int mediaplayer_metadata_set_track(mediaplayer_metadata_t *metadata,
                                           const char *track)

Since:

BlackBerry 10.0.0

Arguments:

metadata

The mediaplayer_metadata_t structure to update.

track

The track.

Library:

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

Description:

The mediaplayer_metadata_set_track() function sets the track in the given metadata structure.

Returns:

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