sensor_get_domain()
Get the unique domain ID for the sensor service.
Synopsis:
#include <bps/sensor.h>
BPS_API int sensor_get_domain(void)
Arguments:
Library:
libbpsDescription:
The sensor_get_domain() function gets the unique domain ID for the sensor service. You can use this function in your application to test whether an event that you retrieve using bps_get_event() is a sensor event, and respond accordingly.
Returns:
The domain ID for the sensor service.