AndroidLocationBackend
An Android location implementation discovered through ServiceLoader.
An installed and available backend supplies the providers that createDefaultLocationProvider and createDefaultOrientationProvider create; the framework providers remain the default otherwise. When several backends are available, the highest priority wins, and equal priorities resolve to the first id in lexicographic order. A ServiceConfigurationError, a LinkageError, or an exception while loading or checking a backend maps LocationProvider.backendAvailability to LocationBackendAvailability.Misconfigured. The installed backend documents its own availability conditions.
Functions
Creates this backend's location provider.
Creates this backend's orientation provider, or returns null so the default framework orientation provider is used. coroutineScope shares the provider's orientation flow.
Whether this backend can run on the current device.