HmsLocationBackend
Installs Huawei fused location as the Android default.
java.util.ServiceLoader discovers this backend when an application packages this module, so createDefaultLocationProvider returns FusedLocationProvider. isAvailable reports whether Huawei Mobile Services is available on the device, and the default falls back to the framework provider on a device without it. Android's framework provider continues to supply orientation.
Properties
Functions
Link copied to clipboard
Link copied to clipboard
open fun createOrientationProvider(context: Context, updateInterval: Duration, coroutineScope: CoroutineScope): OrientationProvider?
Link copied to clipboard