QtMobility Reference Documentation

Contents

QML AmbientLightSensor Element

The AmbientLightSensor element repors on ambient lighting conditions. More...

Inherits Sensor

AmbientLightSensor instantiates the C++ class QAmbientLightSensor

Properties

Signals

Detailed Description

The AmbientLightSensor element repors on ambient lighting conditions.

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

See also Sensors QML Limitations.

Property Documentation

read-onlyreading : AmbientLightReading

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

This documentation was introduced in Qt Mobility Mobility 1.2.


Signal Documentation

AmbientLightSensor::onReadingChanged ()

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

This documentation was introduced in Qt Mobility Mobility 1.2.