Retrieve information for the specified sensor.
#include <sensor/libsensor.h>
int sensor_get_info(sensor_t *sensor, sensor_info_t *info)
BlackBerry 10.0.0
The sensor to access.
A pointer to a location where the function can store the sensor information.
EOK on success, an errno value otherwise.