QtMobility Reference Documentation

Contents

QML LightSensor Element

The LightSensor element reports on light levels using LUX. More...

Inherits Sensor

LightSensor instantiates the C++ class QLightSensor

  • List of all members, including inherited members
  • Properties

    Signals

    Detailed Description

    The LightSensor element reports on light levels using LUX.

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

    See also Sensors QML Limitations.

    Property Documentation

    read-onlyreading : LightReading

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

    This documentation was introduced in Qt Mobility Mobility 1.2.


    Signal Documentation

    LightSensor::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.