Qt 5.7 | Qt Sensors | QML Types | MagnetometerReading QML Type

Qt 5.7.1 Reference Documentation

# MagnetometerReading QML Type

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

Import Statement: | import QtSensors 5.0
Since: | QtSensors 5.0
Inherits: | SensorReading

- List of all members, including inherited members

## Properties

- calibrationLevel : qreal
- x : qreal
- y : qreal
- z : qreal

## 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.