Dela via


AccelerometerReadingType Enum

Definition

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.

Applies to