AccelerometerReading QML Type (Uncreatable)

The AccelerometerReading element holds the most recent Accelerometer reading. More...

Import Statement: import QtSensors
Since: QtSensors 5.0
Inherits:

SensorReading

Note: This is an uncreatable type. It cannot be instantiated in QML.

Properties

  • x : real
  • y : real
  • z : real

Detailed Description

The AccelerometerReading element holds the most recent Accelerometer reading.

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

This element cannot be directly created.

Property Documentation

x : real [read-only]

This property holds the acceleration on the X axis.

Please see QAccelerometerReading::x for information about this property.

y : real [read-only]

This property holds the acceleration on the Y axis.

Please see QAccelerometerReading::y for information about this property.

z : real [read-only]

This property holds the acceleration on the Z axis.

Please see QAccelerometerReading::z for information about this property.