Indicates whether the device has an accelerometer.
#include <bps/accelerometer.h>
BPS_API bool accelerometer_is_supported() BPS_DEPRECATED
BlackBerry 10.0.0
Deprecated:
Use the Sensor API (bps/sensor.h).
true if the device has an accelerometer, false otherwise.