onLocationStatus method

Future<void> onLocationStatus(
  1. OnLocationStatusCallback callback
)

Get notified about positioning status changes. See StatusNames to learn about the possible statuses that you might receive.

These statuses are the basic ones that will help you to stay aware of what's happening with the positioning. There are some other situational and platform specific statuses that you might want to listen, so take a look at the native SDK statuses that we send for Android and for iOS.

See requestLocationUpdates.

Implementation

Future<void> onLocationStatus(OnLocationStatusCallback callback) async {
  _onLocationStatusCallback = callback;
}