Sensors API |
QSensor | Represents a single hardware sensor |
---|---|
QSensorFilter | Efficient callback facility for asynchronous notifications of sensor changes |
QSensorReading | Holds the readings from the sensor |
The best way to access sensor data is via one of these classes.
QAccelerometerReading | Reports on linear acceleration along the X, Y and Z axes |
---|---|
QAmbientLightReading | Represents one reading from the ambient light sensor |
QCompassReading | Represents one reading from a compass |
QMagnetometerReading | Represents one reading from the magnetometer |
QOrientationReading | Represents one reading from the orientation sensor |
QProximityReading | Represents one reading from the proximity sensor |
QRotationReading | Represents one reading from the rotation sensor |
QTapReading | Represents one reading from the tap sensor |
These classes provide convenience wrappers that reduce the need for casting. Each of these classes represents a sensor type that the Sensors API knows about. Note that additional types may be made available at run-time. See Sensor Types for more information.
QAccelerometer | Convenience wrapper around QSensor |
---|---|
QAmbientLightSensor | Convenience wrapper around QSensor |
QCompass | Convenience wrapper around QSensor |
QMagnetometer | Convenience wrapper around QSensor |
QOrientationSensor | Convenience wrapper around QSensor |
QProximitySensor | Convenience wrapper around QSensor |
QRotationSensor | Convenience wrapper around QSensor |
QTapSensor | Convenience wrapper around QSensor |
As with the sensor classes, these provide convenience wrappers that reduce the need for casting.
QAccelerometerFilter | Convenience wrapper around QSensorFilter |
---|---|
QAmbientLightFilter | Convenience wrapper around QSensorFilter |
QCompassFilter | Convenience wrapper around QSensorFilter |
QMagnetometerFilter | Convenience wrapper around QSensorFilter |
QOrientationFilter | Convenience wrapper around QSensorFilter |
QProximityFilter | Convenience wrapper around QSensorFilter |
QRotationFilter | Convenience wrapper around QSensorFilter |
QTapFilter | Convenience wrapper around QSensorFilter |
Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. | Qt qtmobility-1.0 | |
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD. | ||
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP ! |
Copyright © 2000-2012 - www.developpez.com