共用方式為


Magnetometer.ReadingChanged 事件

定義

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

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

事件類型

適用於