MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

QML Accelerometer Element

The Accelerometer element reports on linear acceleration along the X, Y and Z axes. More...

Inherits Sensor

Accelerometer instantiates the C++ class QAccelerometer

This element was introduced in Mobility 1.1.

Properties

Signals

Detailed Description

The Accelerometer element reports on linear acceleration along the X, Y and Z axes.

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

See also Sensors QML Limitations.

Property Documentation

read-onlyreading : AccelerometerReading

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

This property group was introduced in Mobility 1.2.


Signal Documentation

Accelerometer::onReadingChanged ()

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

This documentation was introduced in Mobility 1.2.