public void OnProviderDisabled(string provider)
 {
     // If GPS is disabled from settings.
     if (string.Equals(provider, LocationManager.GpsProvider, StringComparison.InvariantCultureIgnoreCase))
     {
         ProviderDisabled?.Invoke(this, new EventArgs());
     }
 }
Ejemplo n.º 2
0
 // Called when the provider is disabled by the user.
 public void OnProviderDisabled(string provider)
 {
     ProviderDisabled?.Invoke(provider);
 }