ProgressUpdatedListener
Used to inform the caller that the progress on the active Route has been updated.
The progress is calculated based on the user's location and the route geometry.
The progress is updated with each location update.
In order to listen to the active route progress updates, implement this interface to create a listener, for instance:
val progressUpdatedListener = ProgressUpdatedListener { progress ->
// Implement the necessary functionality for handling the updated progress
}
Content copied to clipboard
Subsequently, add this listener using TomTomNavigation.addProgressUpdatedListener. To stop listening to the active route progress updates, remove the listener using TomTomNavigation.removeProgressUpdatedListener.
Functions
Link copied to clipboard
Called whenever an updated progress along the active route has been successfully calculated by the RouteProgressEngine.