Get the sensor delay between events.
#include <sensor/libsensor.h>
int sensor_get_delay(sensor_t *sensor, uint32_t *delay)
BlackBerry 10.0.0
The sensor to access.
The delay (in microseconds).
This function returns the sensor delay between events (i.e., the period of time that elapses before the sensor delivers the next event).
EOK on success, an errno value otherwise.
sensor_set_delay() has not been called, the default delay is returned. Otherwise, the rate set by sensor_set_delay() is returned. Note that the rate returned may be different than what was set.