sensor_set_delay()

Set the sensor delay between events.

Synopsis:

#include <sensor/libsensor.h>
 
int sensor_set_delay(sensor_t *sensor, uint32_t delay)

Since:

BlackBerry 10.0.0

Arguments:

sensor

The sensor to modify.

delay

The delay to set (in microseconds).

Library:

libsensor (For the qcc command, use the -l sensor option to link against this library)

Description:

Returns:

EOK on success, an errno value otherwise.

Last modified: 2014-05-14



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus