startUpdatingLocation

open suspend override fun startUpdatingLocation()

Start updating location (coroutine variant).

Note: if used as a global provider, it will not be stopped automatically. Call stopUpdatingLocation when appropriate.


Start updating location (callback variant, for non-coroutine callers).

Launches the suspend version on the main thread.

Parameters

onError

invoked if starting fails.