accelerometer_is_supported()

Indicates whether the device has an accelerometer.

Synopsis:

#include <bps/accelerometer.h>
 
BPS_API bool accelerometer_is_supported() BPS_DEPRECATED

Since:

BlackBerry 10.0.0

Arguments:

Library:

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

Description:

Deprecated:

Use the Sensor API (bps/sensor.h).

Returns:

true if the device has an accelerometer, false otherwise.