getRouteRefresh

abstract fun getRouteRefresh(route: DirectionsRoute, legIndex: Int, callback: RouteRefreshCallback)

Refresh the traffic annotations for a given DirectionsRoute

Parameters

route

DirectionsRoute the direction route to refresh

legIndex

Int the index of the current leg in the route

callback

Callback that gets notified with the results of the request