enable

@RequiresPermission(anyOf = ["android.permission.ACCESS_FINE_LOCATION", "android.permission.ACCESS_COARSE_LOCATION"])
open override fun enable()

Enable the Android location provider. After this, the location provider will notify listeners of new locations according to the engine configuration specified.

Throws

Thrown if an application doesn't have permission for location updates.