Suspend the delivery of events from the sensor to the thread.
#include <sensor/libsensor.h>
int sensor_pause(sensor_t *sensor)
BlackBerry 10.0.0
The sensor to modify.
This function effectively disables the sensor. The sensor can be re-enabled and the delivery of events can be resumed by calling sensor_resume().
EOK on success, an errno value otherwise.