setFinishHandler

abstract fun setFinishHandler(handler: () -> Unit?)

Sets the handler for the finish button. This handler will be invoked when the user wants to finish navigation.

Parameters

handler

The function to execute when finish button is clicked, or null to hide the button