共用方式為


IMagnetometer.ReadingChanged 事件

定義

發生於磁力計讀取變更時。

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

事件類型

適用於