Sensor Availability Service
Indicates whether a given sensor is available or not.
Properties
Indicates whether device can return measurements containing absolute device attitude respect to Earth.
Indicates whether device has an accelerometer. Accelerometer returns acceleration including gravity in x, y and z axes. In this sensor gravity is always influencing the measured acceleration, for this reason, when the device is sitting on a table, the accelerometer reads a magnitude equal to the gravity. Likewise, when the device is in free-fall accelerating towards the ground, the accelerometer reads a magnitude of zero. This type of accelerometer applies bias corrections to returned measures. If no bias correction is required, use uncalibratedAccelerometerAvailable.
Indicates whether device can return measurements containing the direction and magnitude of gravity, expressed in meters per squared second around the device x, y and z aes.
Indicates whether device has a gyroscope. Gyroscope returns measurements of the rate of rotation expressed in radians/second around the device x, y and z axes. Rotation is positive in counter-clockwise directions. This type of gyroscope applies gyro-drift compensation. If no gyro-drift compensation is required, use uncalibratedGyroscopeAvailable.
Indicates whether device has a linear accelerometer. Linear accelerometer returns acceleration NOT including gravity in x, y and z axes. In this sensor, when the device is sitting on a table, the accelerometer reads a magnitude of zero. Likewise, when the device is in free-fall accelerating towards the ground, the accelerometer reads a magnitude equal to the gravity. This type of accelerometer applies bias corrections to returned measures.
Indicates whether device has a magnetometer. Magnetometer measures the ambient magnetic field expressed in micro-Tesla in the device x, y and z axes. If no hard-iron bias correction is required, use uncalibratedMagnetometerAvailable.
Indicates whether device can return measurements containing relative device attitude rotation respect to Earth.
Indicates whether device has an uncalibrated accelerometer. This is like the normal accelerometer without applying any bias correction (factory bias compensation and temperature compensation are still applied). This accelerometer is only available for SDK 26 or later.
Indicates whether device has an uncalibrated gyroscope. This is like the normal gyroscope without applying any gyro-drift compensation (factory calibration and temperature compensation are still applied).
Indicates whether device has an uncalibrated magnetometer. This is like the normal magnetometer without applying hard-iron compensation (factory calibration and temperature compensation are still applied).