sdk-routing / com.tomtom.online.sdk.routing / RoutingApi / planRoute

planRoute

abstract fun planRoute(routeQuery: RouteQuery!): Single<RouteResponse!>!

Performs reactive route planning action based on provided RouteQuery object.

Parameters

routeQuery - RouteQuery!: The object which contains data necessary to execute route planning action.

Return
Single<RouteResponse!>!: RouteResponse's Single object.

abstract fun planRoute(routeQuery: RouteQuery!, callback: RouteCallback!): Unit

Performs route planning action based on provided RouteQuery object and returns the route in the callback.

Parameters

routeQuery - RouteQuery!: The object which contains data necessary to execute route planning action.

callback - RouteCallback!: The RouteCallbackwhich contains data about planned route.