sensor_get_delay()
Get the sensor delay between events.
Synopsis:
#include <sensor/libsensor.h>
int sensor_get_delay(sensor_t *sensor, uint32_t *delay)
Since:
BlackBerry 10.0.0
Arguments:
- sensor
-
The sensor to access.
- delay
-
The delay (in microseconds).
Library:
libsensor (For the qcc command, use the -l sensor option to link against this library)Description:
This function returns the sensor delay between events (i.e., the period of time that elapses before the sensor delivers the next event).
Returns:
EOK on success, an errno value otherwise.
- See also:
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.
Last modified: 2014-05-14