Skip to content

Latest commit

 

History

History
53 lines (49 loc) · 10.1 KB

sensor-types.md

File metadata and controls

53 lines (49 loc) · 10.1 KB
Sensor type Underlying physical sensors Android name Reporting mode on Android iOS name Reporting mode on iOS
Geolocation Sensor GPS, cell triangulation, etc. Location On-change TODO
Accelerometer Accelerometer Accelerometer Continuous Accelerometer acceleration Continuous
Ambient Temperature Sensor Ambient temperature On-change TODO
Compass Magnetometer Magnetic field sensor Continuous DeviceMotion magneticField Continuous
Gyroscope Gyroscope Gyroscope Continuous DeviceMotion rotationRate Continuous
Heart Rate Sensor Heart Rate On-change TODO
Ambient Light Sensor Light On-change TODO
Proximity Sensor Proximity On-change TODO
Barometer Barometer Pressure Continuous TODO
Altimeter Barometer or GPS Pressure Continuous Altimeter Continuous with unsettable frequency
Relative Humidity Sensor Relative humidity On-change TODO
Game rotation vector Accelerometer, Gyroscope MUST NOT USE Magnetometer Game rotation vector Continuous TODO
Geomagnetic rotation vector Accelerometer, Magnetometer, MUST NOT USE Gyroscope Geomagnetic rotation vector Continuous TODO
Gravity Accelerometer, Gyroscope Gravity Continuous gravity Continuous
Gyroscope uncalibrated Gyroscope Gyroscope uncalibrated Continuous GyroData rotationRate Continuous
Linear acceleration Accelerometer, Gyroscope (if present) or Magnetometer (if gyro not present) Linear acceleration Continuous DeviceMotion userAcceleration Continuous
Magnetic field uncalibrated Magnetometer Magnetic field uncalibrated Continuous Magnetometer magneticField Continuous
Rotation vector Accelerometer, Magnetometer, AND (when present) Gyroscope Rotation vector Continuous DeviceMotion attitude Continuous
Pedometer Accelerometer Step counter On-change TODO