FusedLocationProvider
Foreground fused location from Google Play Services.
Delivers the last known location when available, then applies the requested accuracy, interval, and minimum distance. LocationAccuracy.Lowest receives passive updates.
Unavailable locations report LocationUnavailableReason.TemporarilyUnavailable. Missing permission reports LocationUnavailableReason.PermissionDenied. Other exceptions propagate to the collector.
The Context constructor handles permission requests. The FusedLocationProviderClient constructor reports permission as granted and requires the caller to manage authorization.
Create the provider, request permission, and close it on the main thread.
Constructors
Creates a provider backed by locationClient.
Creates a provider with its own fused client and an AndroidLocationProvider as its permission delegate.