共用方式為


IOrientationSensor.ReadingChanged 事件

定義

發生於方向讀取變更時。

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

事件類型

適用於