QAmbientLightReading Class Reference
The QAmbientLightReading class represents one reading from the ambient light sensor. More...
#include <QAmbientLightReading>
Inherits QSensorReading.
Public Types
| enum | LightLevel { Undefined, Dark, Twilight, Light, Bright, Sunny } |
Properties
- lightLevel : const LightLevel
- 1 property inherited from QSensorReading
Public Functions
| LightLevel | lightLevel () const |
| void | setLightLevel ( LightLevel lightLevel ) |
- 4 public functions inherited from QSensorReading
Detailed Description
The QAmbientLightReading class represents one reading from the ambient light sensor.
QAmbientLightReading Units
The ambient light sensor returns the intensity of the ambient light using the pre-defined values found in the QAmbientLightReading::LightLevel enum.