bbmsp_get_domain()

Retrieve the unique BPS domain ID for the BBM Social Platform.

Synopsis:

#include <bbmsp/bbmsp.h>
 
BBMSP_API int bbmsp_get_domain(void)

Since:

BlackBerry 10.0.0

Arguments:

Library:

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

Description:

Each event in BPS is associated with a domain that represents the service that generated the event (for example, contactlist or userprofile). You can use bbmsp_get_domain() to determine the service (event domain) that generated a particular event.

Returns:

int The domain ID for the service.