兼容性映射

颜色 解释
完全支持特征。
不支持特征。
特征 Android Linux iOS 通用 Windows 平台 Generic Sensorfw TI Sensor Tag
Accelerometer
Altimeter
Ambient Light Sensor
Ambient Temperature Sensor
Compass
Distance
Gyroscope
Holster Sensor
Humidity Sensor
IR Proximity Sensor
Lid Sensor
Light Sensor
Magnetometer
Orientation Sensor
Pressure Sensor
Proximity Sensor
Rotation Sensor
Tap Sensor
Tilt Sensor
Sensor Gestures

1) Support depends on the underlying platform

In addition to the table above, each sensor type might support specific features. For example, a magnetometer might support returning geo values. See QSensor::isFeatureSupported () for additional details.

Sensor Gestures are mostly platform independent, and will run if the platform has the sensors required. Whether they are supported and work well or not depends on the platform.