dispatchOnRouteUpdated

abstract fun dispatchOnRouteUpdated(route: Route, reason: RouteUpdatedReason)

Dispatch RouteUpdatedListener.onRouteUpdated.

It should be called whenever the route must be updated. This function updates traffic, vehicle restrictions on the route. This only has an effect on the active route and the proposed better route.

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