MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

QML Magnetometer Element

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

Inherits Sensor

Magnetometer instantiates the C++ class QMagnetometer

This element was introduced in Mobility 1.1.

Properties

Signals

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 Sensors QML Limitations.

Property Documentation

read-onlyreading : MagnetometerReading

Holds the most recent magnetometer reading. Please see QSensor::reading for information about this property.

This property group was introduced in Mobility 1.2.


Signal Documentation

Magnetometer::onReadingChanged ()

Called when the reading object changes. Please see QSensor::readingChanged() for information about this signal.

This documentation was introduced in Mobility 1.2.