firstValidLocation

open suspend override fun firstValidLocation(): Completion<Location>

Requests location updates from Fused Location Provider API or from LocationManager as fallback and returns the first valid Location or a Throwable.

Return

The first valid Location or a Throwable in case of error.

See also

cloud.pace.sdk.utils.LocationProviderImpl