sensor_info_get_power()

Reserved for future use.

Synopsis:

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

Since:

BlackBerry 10.0.0

Arguments:

info

The information for the sensor to retrieve power that is consumed from the device.

Library:

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

Description:

Retrieve the power that is consumed by sensor.

The sensor_info_get_power() function gets the power of the sensor that is represented by the specified sensor information.

Returns:

The power consumed by the sensor.

Last modified: 2014-05-14



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

comments powered by Disqus