enable

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

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

Important: This is a Public Preview API. It may be changed or removed at any time.

Throws

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