ReadingChanged Event
Collapse the table of content
Expand the table of content

Accelerometer.ReadingChanged Event

Note: This API is now obsolete.

[ 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 accelerometer. This method is deprecated in the current release. Applications should use the CurrentValueChanged event of the SensorBase<TSensorReading> class instead.

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

[ObsoleteAttribute("use CurrentValueChanged")]
public event EventHandler<AccelerometerReadingEventArgs> ReadingChanged
<object ReadingChanged="EventHandler<AccelerometerReadingEventArgs>" .../>

Windows Phone OS

Supported in: 7.0
Obsolete (compiler warning) in 8.1
Obsolete (compiler warning) in 8.0
Obsolete (compiler warning) in 7.1

Windows Phone

© 2017 Microsoft