Magnetometer QML Type

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

Import Statement: import QtSensors 5.0
开始支持版本: QtSensors 5.0
基类:

Sensor

属性

详细描述

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.

参见 MagnetometerReading.

属性

returnGeoValues : bool

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

Please see QMagnetometer::returnGeoValues for information about this property.