SensorReadingType SensorReadingType SensorReadingType SensorReadingType Enum

Definition

Specifies the sensor reading type.

public : enum class SensorReadingTypepublic enum SensorReadingTypePublic Enum SensorReadingType// You can use this enum in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Fields

Absolute Absolute Absolute Absolute

The sensor reading type is absolute. Absolute sensors provide a reading that uses all of the sensors available.

Relative Relative Relative Relative

The sensor reading type is relative. Relative sensors provide a reading that is accurate under most conditions, but might not be as accurate as it attempts to not use all sensors available. See the Remarks for more information.

Remarks

To understand the difference between an Absolute and a Relative sensor, consider the OrientationSensor. In order to provide an absolute reading, an Absolute OrientationSensor will use an accelerometer, a gyrometer, and a magnetometer to determine its orientation with respect to magnetic North. In contrast, a relative OrientationSensor will only use an accelerometer and gyrometer (no magnetometer), measuring its orientation relative to where the sensor is first instantiated.