onRouteUpdated
abstract fun onRouteUpdated(route: Route, updateReason: RouteUpdateReason)
Content copied to clipboard
Called whenever Route has been successfully updated. Route can be updated manually by calling TomTomNavigation.update or automatically when either:
NavigationConfiguration.continuousReplanningMode is set to ContinuousReplanningMode.AUTOMATIC.
NavigationConfiguration.deviationReplanningMode is set to true.
Important: This is a Public Preview API. It may be changed or removed at any time.
Parameters
route
Route that has been updated.
updateReason
Describes why route was updated.