public override void OnLocationResult(LocationResult location) { if (location != null) { var updatedLocation = XamarinLocationFactory.CreateXamarinLocation(location.LastLocation); _updateDelegate.Invoke(updatedLocation); } else { Log.Debug(LoggerTag, "Received empty location update from Google Play provider!"); } }
public void OnLocationChanged(Android.Locations.Location location) { var updatedLocation = XamarinLocationFactory.CreateXamarinLocation(location); _locationUpdateDelegate.Invoke(updatedLocation); }