SensorBase<(Of <(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.

Syntax

Public Event CurrentValueChanged As EventHandler(Of SensorReadingEventArgs(Of TSensorReading))
public event EventHandler<SensorReadingEventArgs<TSensorReading>> CurrentValueChanged
<object CurrentValueChanged="EventHandler<SensorReadingEventArgs<TSensorReading>>" .../>

Remarks

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

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Platforms

Windows Phone

See Also

Reference

SensorBase<(Of <(TSensorReading>)>) Class

Microsoft.Devices.Sensors Namespace