sdk-routing / com.tomtom.online.sdk.routing.data.batch / BatchRoutingResponse

BatchRoutingResponse

open class BatchRoutingResponse : ServiceBaseResponse, Batchable

The Response to an Batch Routing Request.

Constructors

<init>

BatchRoutingResponse()

The Response to an Batch Routing Request.

Properties

responses

var responses: Array<BatchableRoutingResponse!>!

successfulRequests

var successfulRequests: Int

totalRequests

var totalRequests: Int

Functions

getReachableRangeResponses

open fun getReachableRangeResponses(): MutableList<ReachableRangeResponse!>!

Gets a list of reachable range results of a Batch search query. This list will be empty if there were no requests of this type.

getRouteRoutingResponses

open fun getRouteRoutingResponses(): MutableList<RouteResponse!>!

Gets a list of Route results of a Batch Routing query. This list will be empty if there were no requests of this type.

getRoutingResponses

open fun getRoutingResponses(): ImmutableList<BatchableRoutingResponse!>!

Gets a list of results of a Batch Routing query. For each item, use BatchableRoutingResponseVisitor to obtain the specific Response type.