get Route Refresh
abstract fun getRouteRefresh(route: DirectionsRoute, legIndex: Int, callback: RouteRefreshCallback): Long
Content copied to clipboard
Refresh the traffic annotations for a given DirectionsRoute
Return
request ID, can be used to cancel the request with cancelRouteRefreshRequest
Parameters
route
DirectionsRoute the direction 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