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