Accelerometer Properties

The Accelerometer type exposes the following members.

  NameDescription
Public property 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<TSensorReading>.)
Public property IsDataValid Gets the validity of the sensor’s data. (Inherited from SensorBase<TSensorReading>.)
Public property Static member IsSupported Gets or sets whether the device on which the application is running supports the accelerometer sensor.
Public property State Gets the current state of the accelerometer. The value is a member of the SensorState enumeration.
Public property TimeBetweenUpdates Gets or sets the preferred time between CurrentValueChanged events. (Inherited from SensorBase<TSensorReading>.)
Top

Show:
© 2015 Microsoft