Retrieve the state of the Media Controller from the MEDIACONTROLLER_STATE event.
#include <bps/mediacontroller.h>
BPS_API int mediacontroller_event_get_state(bps_event_t *event)
BlackBerry 10.0.0
The MEDIACONTROLLER_STATE event to extract the current state from. The state will be one of the values from the media_state_t enumeration.
The mediacontroller_event_get_state() function extracts the current state from the specified MEDIACONTROLLER_STATE event.
The current state.