共用方式為


ICompass.ReadingChanged 事件

定義

當指南針讀取變更時發生。

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

事件類型

適用於