Check for sensor existence.
#include <sensor/libsensor.h>
bool sensor_exists(sensor_type_e sensor_type)
BlackBerry 10.0.0
The sensor type you wish to check for existence. Sensor types are defined in sensor/sensor.h.
bool True if a sensor is currently available for use on your device, false otherwise.