Play or pause the current media content.
#include <bps/mediacontroller.h>
BPS_API int mediacontroller_play_pause(void)
BlackBerry 10.0.0
The mediacontroller_play() function directs the connected media player to play or pause its content accordingly.
BPS_SUCCESS when the function completes successfully, BPS_FAILURE with errno value set otherwise.