region_get_domain()

Get the unique domain ID for the region service.

Synopsis:

#include <bps/region.h>
 
BPS_API int region_get_domain()

Since:

BlackBerry 10.0.0

Arguments:

Library:

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

Description:

The region_get_domain() function gets the unique domain ID for the region service. You can use this function in your application to test whether an event that you retrieved using bps_get_event() is a region event, and respond accordingly.

Returns:

The domain ID for the region service.