Accelerometer QML Type

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

Import Statement: import QtSensors 5.11
Since: QtSensors 5.0
Inherits:

Sensor

Properties

Detailed Description

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

This property holds the current acceleration mode.

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

This property was introduced in QtSensors 5.1.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.12/qml-qtsensors-accelerometer.html