![]() |
Home · All Classes · All Functions · | ![]() |
The QProximityReading class represents one reading from the proximity sensor. More...
#include <QProximityReading>
This class is under development and is subject to change.
Inherits QSensorReading.
enum | Proximity { Undefined, Close, NotClose } |
Proximity | proximity () const |
void | setProximity ( Proximity proximity ) |
The QProximityReading class represents one reading from the proximity sensor.
The proximity sensor returns an indication of how far the user is away from the device using the pre-defined values found in the QProximityReading::Proximity enum.
This enum represents the proximity of the user.
Constant | Value | Description |
---|---|---|
QProximityReading::Undefined | 0 | The proximity is unknown. |
QProximityReading::Close | 1 | The user is close to the device. |
QProximityReading::NotClose | 2 | The user is not close to the device. |
This property holds the proximity of the user.
Access functions:
Proximity | proximity () const |
Sets the proximity of the user.
See also proximity().
Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) | Trademarks | Qt Mobility Project 1.0.0 |