RouteTrackingStateUpdatedListener

Used to inform the caller that the route tracking stage has been updated.

In order to listen to the route tracking state updates, implement this interface to create a listener, for instance:

val routeTrackingStateUpdatedListener = RouteTrackingStateUpdatedListener { routeTrackingState ->
// Implement the necessary functionality for handling the updated route tracking state
}

Subsequently, add this listener using TomTomNavigation.addRouteTrackingStateUpdatedListener. To stop listening to the route tracking states updates, remove the listener using TomTomNavigation.removeRouteTrackingStateUpdatedListener.

Functions

Link copied to clipboard
abstract fun onRouteTrackingStateUpdated(routeTrackingState: RouteTrackingState)

Called whenever RouteTrackingState has been updated.