Retrieve the command from the MEDIAPLAYER_COMMAND event.
#include <bps/mediaplayer.h>
BPS_API int mediaplayer_event_get_command(bps_event_t *event)
BlackBerry 10.0.0
The MEDIAPLAYER_COMMAND event to extract the command from.
The mediaplayer_event_get_command() function extracts the command from the specified MEDIAPLAYER_COMMAND event.
The command, one of the values of the media_command_t enumeration, or BPS_FAILURE with errno value set on error.