getRouteRefresh

abstract fun getRouteRefresh(    route: NavigationRoute,     legIndex: Int,     callback: NavigationRouterRefreshCallback): Long

Refresh the traffic annotations for a given underlying DirectionsRoute

Return

request ID, can be used to cancel the request with cancelRouteRefreshRequest

Parameters

route

NavigationRoute the route to refresh

legIndex

Int the index of the current leg in the route to refresh

callback

Callback that gets notified with the results of the request