RouteTrackingStateUpdatedListener

Informs the caller about route tracking state updates.

The information about the route state is represented by RouteTrackingState. When the driver deviates or returns to the active route, the navigation engine sends route-tracking state updates to the listener.

To start receiving route tracking state updates, use tomTomNavigation.addRouteTrackingStateUpdatedListener(routeTrackingStateUpdatedListener) To stop receiving route tracking state updates, remove the previously added listener using tomTomNavigation.removeRouteTrackingStateUpdatedListener(routeTrackingStateUpdatedListener)

Important: This is a Public Preview API. It may be changed or removed at any time.

Functions

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

Called whenever RouteTrackingState has changed.