Start receiving Media player events.
#include <bps/mediaplayer.h>
BPS_API int mediaplayer_request_events(int flags)
BlackBerry 10.0.0
Additional flags that are reserved for future use. Set this value to 0 to request all Media player events.
The mediaplayer_request_events() function starts to deliver Media player events to your application using BlackBerry Platform Services (BPS). Events will be posted to the currently active channel.
BPS_SUCCESS when the function completes successfully, BPS_FAILURE with errno value set otherwise.