This topic has not yet been rated - Rate this topic

SensorBase<TSensorReading>.TimeBetweenUpdates Property

July 26, 2012

Gets or sets the preferred time between CurrentValueChanged events.

Namespace:  Microsoft.Devices.Sensors
Assembly:  Microsoft.Devices.Sensors (in Microsoft.Devices.Sensors.dll)
public TimeSpan TimeBetweenUpdates { get; set; }

Property Value

Type: System.TimeSpan
Type: TimeSpan. The preferred time between CurrentValueChanged events.

Different devices are capable of different rates of providing sensor data. You can query this property after setting it to see what value is actually being used. The default value is 2 milliseconds.

Windows Phone OS

Supported in: 7.1

Windows Phone

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.