refreshFromCurrentLocation method

  1. @override
void refreshFromCurrentLocation()
override

Requests a one-shot location fix and refreshes the nearby geofence set from it, without emitting a location analytics event or caching the fix. Call after the host app has been granted location permission; the SDK never requests permission itself.

Implementation

@override
void refreshFromCurrentLocation() {
  _invokeGeofenceMethod(NativeMethods.refreshFromCurrentLocation);
}