Accelerometer QML Type

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

import 语句: import QtSensors 5.11
Since: QtSensors 5.0
继承: Sensor

特性

详细描述

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

此元素包裹 QAccelerometer 类。请参阅文档编制 QAccelerometer 了解细节。

另请参阅 AccelerometerReading .

特性文档编制

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.