listen

abstract fun listen(listener: Listener): () -> Unit(source)

Sets up a listener that will be called whenever the current location changes.

Parameters

listener
  • A function that will be called when the location changes