Magnetometer QML Type

The Magnetometer element reports on magnetic field strength along the Z, Y and Z axes. More...

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

Sensor

Properties

Detailed Description

The Magnetometer element reports on magnetic field strength along the Z, Y and Z axes.

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

See also MagnetometerReading.

Property Documentation

returnGeoValues : bool

This property holds a value indicating if geomagnetic values should be returned.

Please see QMagnetometer::returnGeoValues 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.12/qml-qtsensors-magnetometer.html