Provides internal ambient light sensor measurements. More...
#include <qmals.h>
Signals | |
void | ALSChanged (const MeeGo::QmAlsReading data) |
Public Member Functions | |
QmALS (QObject *parent=0) | |
~QmALS () | |
QmAlsReading | get () |
Properties | |
QmAlsReading | value |
Provides internal ambient light sensor measurements.
The unit of the value returned is lux.
To get measurements and change sensor settings, the client must open a session (and call start() for data). Details can be found from documentation of QmSensor.
Definition at line 51 of file qmals.h.
MeeGo::QmALS::QmALS | ( | QObject * | parent = 0 |
) |
Constructor
parent | Parent QObject |
MeeGo::QmALS::~QmALS | ( | ) |
Destructor
void MeeGo::QmALS::ALSChanged | ( | const MeeGo::QmAlsReading | data | ) | [signal] |
Sent when ambient light intensity has changed.
data | Observed ambient light intensity (lux) |
QmAlsReading MeeGo::QmALS::get | ( | ) |
Gets the current ambient light intensity value.
QmAlsReading MeeGo::QmALS::value [read] |