Accelerometer.ReadingChanged Event
Note: This API is now obsolete.
Namespace: Microsoft.Devices.Sensors
Assembly: Microsoft.Devices.Sensors (in Microsoft.Devices.Sensors.dll)
Syntax
'Declaration
<ObsoleteAttribute("use CurrentValueChanged")> _
Public Event ReadingChanged As EventHandler(Of AccelerometerReadingEventArgs)
[ObsoleteAttribute("use CurrentValueChanged")]
public event EventHandler<AccelerometerReadingEventArgs> ReadingChanged
[ObsoleteAttribute(L"use CurrentValueChanged")]
public:
event EventHandler<AccelerometerReadingEventArgs^>^ ReadingChanged {
void add (EventHandler<AccelerometerReadingEventArgs^>^ value);
void remove (EventHandler<AccelerometerReadingEventArgs^>^ value);
}
[<ObsoleteAttribute("use CurrentValueChanged")>]
member ReadingChanged : IEvent<EventHandler<AccelerometerReadingEventArgs>,
AccelerometerReadingEventArgs>
Version Information
.NET for Windows Phone apps
Obsolete (compiler warning) in Windows Phone 8
Obsolete (compiler warning) in Silverlight 8.1
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.