mediacontroller_button_down()

Send a button-down message.

Synopsis:

#include <bps/mediacontroller.h>
 
BPS_API int mediacontroller_button_down(int button)

Since:

BlackBerry 10.0.0

Arguments:

button

The button for which the button down message is sent, must be one of the values of the media_button_t enum, not including MEDIA_BUTTON_NONE.

Library:

libbps (For the qcc command, use the -l bps option to link against this library)

Description:

The mediacontroller_button_down() function sends a button down message to the connected media player.

Returns:

BPS_SUCCESS when the function completes successfully, BPS_FAILURE with errno value set otherwise.

Last modified: 2014-05-14



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus