11 references to Current
Microsoft.Maui.Essentials (11)
Geolocation\Geolocation.shared.cs (11)
83 Current.GetLastKnownLocationAsync(); 91 Current.GetLocationAsync(); 100 Current.GetLocationAsync(request); 110 Current.GetLocationAsync(request, cancelToken); 115 public static bool IsListeningForeground { get => Current.IsListeningForeground; } 122 add => Current.LocationChanged += value; 123 remove => Current.LocationChanged -= value; 133 add => Current.ListeningFailed += value; 134 remove => Current.ListeningFailed -= value; 149 Current.StartListeningForegroundAsync(request); 157 Current.StopListeningForeground();