Indicate whether a sensor type is supported.
#include <bps/sensor.h>
BPS_API bool sensor_is_supported(sensor_type_t type)
BlackBerry 10.0.0
The sensor to check support for.
The sensor_is_supported() function indicates whether the specified sensor type is supported on the device.
true if the sensor type is supported on the device, false if the sensor type is not supported on the device.