mediacontroller_request_events()

Start receiving Media Controller events.

Synopsis:

#include <bps/mediacontroller.h>
 
BPS_API int mediacontroller_request_events(int flags)

Since:

BlackBerry 10.0.0

Arguments:

flags

Additional flags that are reserved for future use. Set this value to 0 to request all Media Controller events.

Library:

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

Description:

The mediacontroller_request_events() function starts to deliver Media Controller events to your application using BlackBerry Platform Services (BPS). Events are posted to the currently active channel.

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