- Qt 6.10
- Qt Sensors
- QML Types
- MagnetometerReading
- Qt 6.10.2 Reference Documentation

# MagnetometerReading QML Type

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

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

- List of all members, including inherited members

## Properties

- calibrationLevel : real
- x : real
- y : real
- z : real

## 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 : real

This property holds the accuracy of the reading.

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

x : real

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

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

y : real

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

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

z : real

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

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