mediacontroller_get_domain()

Retrieve the unique domain ID for the Media Controller service.

Synopsis:

#include <bps/mediacontroller.h>
 
BPS_API int mediacontroller_get_domain(void)

Since:

BlackBerry 10.0.0

Arguments:

Library:

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

Description:

The mediacontroller_get_domain() function gets the unique domain ID for the Media Controller service. You can use this function in your application to determine whether an event that you receive using the bps_get_event() function is a Media Controller event, and respond accordingly.

Returns:

The domain ID for the Media Controller service.

Last modified: 2014-05-14



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

comments powered by Disqus