computeRoute

open fun computeRoute(routePlan: RoutePlan, listener: Router.RouteComputeListener)

This method will compute a full route.Deprecated - use computeRoute with RouteRequest

Parameters

routePlan
open fun computeRoute(routePlan: RoutePlan, listener: Router.RouteComputeListener, @Nullable() executor: Executor)

This method will compute a full route.Deprecated - use computeRoute with RouteRequest

Parameters

routePlan
executor

Executor which will execute listener's callbacks

open fun computeRoute(@NonNull() routeRequest: RouteRequest, @NonNull() listener: Router.RouteComputeListener)
open fun computeRoute(@NonNull() routeRequest: RouteRequest, listener: Router.RouteComputeListener, @Nullable() executor: Executor)