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