IAccelerometer.ReadingChanged 事件

定义

当传感器读数发生更改时发生。

public:
 event EventHandler<Microsoft::Maui::Devices::Sensors::AccelerometerChangedEventArgs ^> ^ ReadingChanged;
event EventHandler<Microsoft.Maui.Devices.Sensors.AccelerometerChangedEventArgs>? ReadingChanged;
member this.ReadingChanged : EventHandler<Microsoft.Maui.Devices.Sensors.AccelerometerChangedEventArgs> 
Event ReadingChanged As EventHandler(Of AccelerometerChangedEventArgs) 

事件类型

适用于