mediaplayer_metadata_set_next_enabled()

Set the next track enabled state in a metadata structure.

Synopsis:

#include <bps/mediaplayer.h>
 
BPS_API int mediaplayer_metadata_set_next_enabled(mediaplayer_metadata_t *metadata,
                                                  bool enabled)

Since:

BlackBerry 10.0.0

Arguments:

metadata

The mediaplayer_metadata_t structure to update.

enabled

The enabled state. true indicates enabled, false indicates disabled.

Library:

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

Description:

The mediaplayer_metadata_set_next_enabled() function sets the next track enabled state in the given metadata structure.

Returns:

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