SensorBase(TSensorReading) Properties
Collapse the table of content
Expand the table of content

SensorBase<TSensorReading> Properties

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

The SensorBase<TSensorReading> 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.
Public property IsDataValid Gets the validity of the sensor’s data.
Public property TimeBetweenUpdates Gets or sets the preferred time between CurrentValueChanged events.
Top

Show:
© 2017 Microsoft