mediaplayer_metadata_set_artist()

Set the artist in a metadata structure.

Synopsis:

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

Since:

BlackBerry 10.0.0

Arguments:

metadata

The mediaplayer_metadata_t structure to update.

artist

The artist.

Library:

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

Description:

The mediaplayer_metadata_set_artist() function sets the artist in the given metadata structure.

Returns:

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