MagnetometerReading QML Type

The MagnetometerReading element holds the most recent Magnetometer reading. More...

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

SensorReading

Properties

Detailed Description

The MagnetometerReading element holds the most recent Magnetometer reading.

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

This element cannot be directly created.

Property Documentation

calibrationLevel : qreal

This property holds the accuracy of the reading.

Please see QMagnetometerReading::calibrationLevel for information about this property.

x : qreal

This property holds the raw magnetic flux density on the X axis.

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

y : qreal

This property holds the raw magnetic flux density on the Y axis.

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

z : qreal

This property holds the raw magnetic flux density on the Z axis.

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

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