Geolocation.LocationChanged 事件

定义

侦听位置更新时发生。

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

事件类型

适用于