sensor_event_get_accuracy()

Retrieve the accuracy of a sensor reading.

Synopsis:

#include <bps/sensor.h>
 
BPS_API sensor_accuracy_t sensor_event_get_accuracy(bps_event_t *event)

Since:

BlackBerry 10.0.0

Arguments:

event

The sensor event to get the accuracy of.

Library:

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

Description:

The sensor_event_get_accuracy() function gets the accuracy of the specified sensor event. The sensor's accuracy is returned with each sensor reading event. The sensor_accuracy_t structure defines the possible levels of accuracy of sensor readings.

Returns:

The accuracy of the sensor reading.

Last modified: 2014-05-14



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

comments powered by Disqus