OnRoutesChangedListener

Used to inform the caller that the set of routes in the navigation session. has changed. Can be registered with TomTomNavigation.addOnRoutesChangedListener.

Functions

Link copied to clipboard
abstract fun onRoutesChanged(navigationSnapshot: NavigationSnapshot)

Called whenever the set of routes in the current navigation session changes. For example, additions of better proposals or replannings of a route will trigger this listener.