get Route Refresh
abstract fun getRouteRefresh(route: NavigationRoute, legIndex: Int, callback: NavigationRouterRefreshCallback): Long
Content copied to clipboard
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