sdk-routing / com.tomtom.online.sdk.routing.data / RouteResponse

RouteResponse

open class RouteResponse : ServiceBaseResponse, Serializable, BatchableRoutingResponse

The default route planning result representation when querying the Routing API.

Constructors

<init>

RouteResponse()

Empty constructor for the RouteResponse.

RouteResponse(routes: Array<FullRoute!>!, optimizedWaypoints: Array<OptimizedWaypoint!>!, resultReport: ResultReport!)

Default constructor for the RouteResponse.

Properties

optimizedWaypoints

var optimizedWaypoints: Array<OptimizedWaypoint!>!

resultReport

var resultReport: ResultReport!

routes

var routes: Array<FullRoute!>!

version

var version: String!

Functions

accept

open fun accept(visitor: BatchableRoutingResponseVisitor!): Unit

getOptimizedWaypoints

open fun getOptimizedWaypoints(): MutableList<OptimizedWaypoint!>!

getResultReport

open fun getResultReport(): ResultReport!

getRoutes

open fun getRoutes(): MutableList<FullRoute!>!

hasResults

open fun hasResults(): Boolean