Accelerometer Properties

Include Protected Members
Include Inherited Members

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

The Accelerometer type exposes the following members.

Properties

  Name Description
CurrentValue Gets an object that implements ISensorReading that contains the current value of the sensor. This object will be one of the following types, depending on which sensor is being referenced: AccelerometerReading, CompassReading, GyroscopeReading, MotionReading. (Inherited from SensorBase<(Of <(TSensorReading>)>).)
IsDataValid Gets the validity of the sensor’s data. (Inherited from SensorBase<(Of <(TSensorReading>)>).)
IsSupported Gets or sets whether the device on which the application is running supports the accelerometer sensor.
State Gets the current state of the accelerometer. The value is a member of the SensorState enumeration.
TimeBetweenUpdates Gets or sets the preferred time between CurrentValueChanged events. (Inherited from SensorBase<(Of <(TSensorReading>)>).)

Top

See Also

Reference

Accelerometer Class

Microsoft.Devices.Sensors Namespace