CurrentValueChanged Event
Collapse the table of content
Expand the table of content

SensorBase<TSensorReading>.CurrentValueChanged Event

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

Occurs when new data arrives from the sensor.

Namespace:  Microsoft.Devices.Sensors
Assembly:  Microsoft.Devices.Sensors (in Microsoft.Devices.Sensors.dll)
XMLNS for XAML: Not mapped to an xmlns.

public event EventHandler<SensorReadingEventArgs<TSensorReading>> CurrentValueChanged
<object CurrentValueChanged="EventHandler<SensorReadingEventArgs<TSensorReading>>" .../>

Set the preferred frequency with which this event is raised by setting the TimeBetweenUpdates property.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

© 2016 Microsoft