共用方式為


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) 

事件類型

適用於