Share via


Geolocation.ListeningFailed Event

Definition

Occurs when an error during listening for location updates arises. When the event is fired, listening for further location updates has been stopped and no further LocationChanged events are sent.

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

Event Type

Applies to