The identifying string for this component is "QtMobility.sensors". Use this in the QML import statement.
The Sensors QML Plugin registers the C++ Sensors classes directly to the QML environment. This causes some limitations due to the use of types that do not work in the QML environment. See below for a list of the known limitations.
See Sensors for more information about the Sensors API.
The following limitations affect the Sensors QML bindings for Qt Mobility 1.1 and 1.2.
These elements represent specific types of sensors.
The Accelerometer element wraps the QAccelerometer class. | |
The AmbientLightSensor element wraps the QAmbientLightSensor class. | |
The Compass element wraps the QCompass class. | |
The Gyroscope element wraps the QGyroscope class. | |
The LightSensor element wraps the QLightSensor class. | |
The Magnetometer element wraps the QMagnetometer class. | |
The OrientationSensor element wraps the QOrientationSensor class. | |
The ProximitySensor element wraps the QProximitySensor class. | |
The RotationSensor element wraps the QRotationSensor class. | |
The TapSensor element wraps the QTapSensor class. |
The data from a sensor comes through a reading class.
The AccelerometerReading element wraps the QAccelerometerReading class. | |
The AmbientLightReading element wraps the QAmbientLightReading class. | |
The CompassReading element wraps the QCompassReading class. | |
The GyroscopeReading element wraps the QGyroscopeReading class. | |
The LightReading element wraps the QLightReading class. | |
The MagnetometerReading element wraps the QMagnetometerReading class. | |
The OrientationReading element wraps the QOrientationReading class. | |
The ProximityReading element wraps the QProximityReading class. | |
The RotationReading element wraps the QRotationReading class. | |
The TapReading element wraps the QTapReading class. |