sensor_info_get_resolution()

Retrieve the resolution of a sensor.

Synopsis:

#include <bps/sensor.h>
 
BPS_API float sensor_info_get_resolution(sensor_info_t *info)

Since:

BlackBerry 10.0.0

Arguments:

info

The information for the sensor to get the resolution of.

Library:

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

Description:

The sensor_info_get_resolution() function gets the resolution of the sensor that is represented by the specified sensor information. The resolution represents the sensitivity of a sensor.

Returns:

The sensor's resolution.

Last modified: 2014-05-14



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

comments powered by Disqus