bbads_get_domain()

Get the BlackBerry Platform Services domain identifier for Advertising Service events.

Synopsis:

#include <bbads/event.h>
 
int bbads_get_domain(void)

Since:

BlackBerry 10.0.0

Arguments:

Library:

libbbads

Description:

This function gets the BPS domain ID for bbads events.

Returns:

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.