DestinationArrivalListener
Used to inform the caller that they have arrived at the destination.
Destination arrival is detected by the ArrivalDetectionEngine. Upon arrival detection, navigation continues in turn-by-turn mode until it's stopped.
In order to listen to the destination arrival detection, implement this interface to create a listener, for instance:
val destinationArrivalListener = DestinationArrivalListener { route ->
// Implement the necessary functionality for handling the destination arrival detection
}
Content copied to clipboard
Subsequently, add this listener using TomTomNavigation.addDestinationArrivalListener. To stop listening to the destination arrival detection, remove the listener using TomTomNavigation.removeDestinationArrivalListener.
Functions
Link copied to clipboard
Called whenever destination arrival has been detected by the ArrivalDetectionEngine.