mediacontroller_button_up()

Send a button-up message.

Synopsis:

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

Since:

BlackBerry 10.0.0

Arguments:

button

The button for which the button up 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_up() function sends a button up 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