getRoute

abstract fun getRoute(routeOptions: RouteOptions, callback: NavigationRouterCallback): Long

Fetch routes based on RouteOptions.

Return

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

Parameters

routeOptions

RouteOptions

callback

Callback that gets notified with the results of the request