IGeolocation.LocationChanged 事件

定义

侦听位置更新时发生。

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

事件类型

适用于