sensor_info_get_delay_default()

Retrieve the default delay of a sensor.

Synopsis:

#include <bps/sensor.h>
 
BPS_API unsigned int sensor_info_get_delay_default(sensor_info_t *info)

Since:

BlackBerry 10.0.0

Arguments:

info

The information for the sensor to get the default delay from.

Library:

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

Description:

The sensor_info_get_delay_default() function gets the default delay of the sensor that is represented by the specified sensor information. Delay is the time between sensor events. A delay of 1000000 usec (or 1 second), indicates that an event is received every 1 second.

Returns:

The sensor's default delay in microseconds.

Last modified: 2014-05-14



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

comments powered by Disqus