Router
Router provides API to fetch route and cancel route-fetching request.
Functions
Link copied to clipboard
                Cancels a specific route refresh request.
Link copied to clipboard
                Cancels a specific route request.
Link copied to clipboard
                abstract fun getRoute(routeOptions: RouteOptions, callback: RouterCallback): Long
Content copied to clipboard
Fetch routes based on RouteOptions.
Link copied to clipboard
                abstract fun getRouteRefresh(    route: DirectionsRoute,     legIndex: Int,     callback: RouteRefreshCallback): Long
Content copied to clipboard
Refresh the traffic annotations for a given DirectionsRoute