Informs the caller about destination arrival.

Destination arrival is detected by the ArrivalDetectionEngine. Upon arrival detection, navigation continues in turn-by-turn mode until it's stopped.

To be notified about the destination arrival event while navigating, first implement the DestinationArrivalListener interface, for example:

val destinationArrivalListener = DestinationArrivalListener { route ->
// add code here that handles the destination arrival

Then register this listener using TomTomNavigation.addDestinationArrivalListener.

To stop listening to the destination arrival event, unregister the listener using TomTomNavigation.removeDestinationArrivalListener.


Link copied to clipboard
abstract fun onDestinationArrived(route: Route)

Called when destination arrival is detected by the ArrivalDetectionEngine.