OnActiveRouteChangedListener

interface OnActiveRouteChangedListener

Used to inform the client that the active route has changed. Can be registered with TomTomNavigation.addOnActiveRouteChangedListener.

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

Functions

Link copied to clipboard
abstract fun onActiveRouteChanged(route: Route, routeChangeReason: RouteChangeReason)

Called whenever there is a change to the active Route. Active Route can be changed manually via the NavigationController or automatically when either: