2 writes to listeningGeolocator
Microsoft.Maui.Essentials (2)
Geolocation\Geolocation.uwp.cs (2)
88 listeningGeolocator = new Geolocator 116 listeningGeolocator = null;
7 references to listeningGeolocator
Microsoft.Maui.Essentials (7)
Geolocation\Geolocation.uwp.cs (7)
17 public bool IsListeningForeground { get => listeningGeolocator != null; } 95 CheckStatus(listeningGeolocator.LocationStatus); 97 listeningGeolocator.PositionChanged += OnLocatorPositionChanged; 98 listeningGeolocator.StatusChanged += OnLocatorStatusChanged; 110 if (!IsListeningForeground || listeningGeolocator == null) 113 listeningGeolocator.PositionChanged -= OnLocatorPositionChanged; 114 listeningGeolocator.StatusChanged -= OnLocatorStatusChanged;