MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

QML OrientationSensor Element

The OrientationSensor element reports device orientation. More...

Inherits Sensor

OrientationSensor instantiates the C++ class QOrientationSensor

This element was introduced in Mobility 1.1.

Properties

Signals

Detailed Description

The OrientationSensor element reports device orientation.

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

See also Sensors QML Limitations.

Property Documentation

read-onlyreading : OrientationReading

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

This property group was introduced in Mobility 1.2.


Signal Documentation

OrientationSensor::onReadingChanged ()

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

This documentation was introduced in Mobility 1.2.