AccelerometerReadingType Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates the type of accelerometer.
public enum class AccelerometerReadingType
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
enum class AccelerometerReadingType
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
public enum AccelerometerReadingType
var value = Windows.Devices.Sensors.AccelerometerReadingType.standard
Public Enum AccelerometerReadingType
- Inheritance
-
AccelerometerReadingType
- Attributes
Windows requirements
Device family |
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v3.0)
|
Fields
Name | Value | Description |
---|---|---|
Standard | 0 | A standard accelerometer takes into account all of the forces impacting the sensor. |
Linear | 1 | A linear accelerometer does not take into account the influence of gravity. |
Gravity | 2 | A gravity accelerometer is only interested in the influence of gravity on a sensor. |