Retrieve the unique domain ID for the sensor service.
#include <bps/sensor.h>
BPS_API int sensor_get_domain(void)
BlackBerry 10.0.0
The sensor_get_domain() function gets the unique domain ID for the sensor service. Use this function in your application to test whether an event that you retrieve using the bps_get_event() function is a sensor event, and respond accordingly.
The domain ID for the sensor service.