MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

QML ProximitySensor Element

The ProximitySensor element reports on object proximity. More...

Inherits Sensor

ProximitySensor instantiates the C++ class QProximitySensor

This element was introduced in Mobility 1.1.

Properties

Signals

Detailed Description

The ProximitySensor element reports on object proximity.

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

See also Sensors QML Limitations.

Property Documentation

read-onlyreading : ProximityReading

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

This property group was introduced in Mobility 1.2.


Signal Documentation

ProximitySensor::onReadingChanged ()

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

This documentation was introduced in Mobility 1.2.