Get the BlackBerry Platform Services domain identifier for Advertising Service events.
#include <bbads/event.h>
int bbads_get_domain(void)
BlackBerry 10.0.0
This function gets the BPS domain ID for bbads events.
The BPS domain ID for bbads events. If there is no domain ID for bbads when the call is made, or if the events have not been registered, the value -1 is returned.