Start sending sensor events to BlackBerry Platform Services (BPS)
#include <bps/sensor.h>
BPS_API int sensor_request_events(sensor_type_t type)
BlackBerry 10.0.0
The types of events to deliver. You can use the values that are defined in the sensor_type_t enumeration to specify the sensor events to deliver.
The sensor_request_events() function starts to deliver sensor events to the application using BPS.
BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.