addOnLocationChangedListener

abstract fun addOnLocationChangedListener(callback: (location: Location) -> Unit): ListenerSubscription

Adds a callback to be called whenever the current Location changes.

Call ListenerSubscription.remove to stop listening.