Accelerometer QML Type

The Accelerometer element reports on linear acceleration along the X, Y and Z axes. More...

Properties

Detailed Description

\ingroupqml-sensors_type \inqmlmodule QtSensors \since QtSensors 5.0 \inherits Sensor

The Accelerometer element reports on linear acceleration along the X, Y and Z axes.

This element wraps the QAccelerometer class. Please see the documentation for QAccelerometer for details.

See also AccelerometerReading.

Property Documentation

accelerationMode : AccelerationMode

\sinceQtSensors 5.1

This property holds the current acceleration mode.

Please see QAccelerometer::accelerationMode for information about this property.