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

BatchRoutingResponse

@DeprecatedSince(2020, 6) open class BatchRoutingResponse : ServiceBaseResponse, Batchable
Deprecated: Deprecated in Java

The Response to an Batch Routing Request.

Constructors

<init>

BatchRoutingResponse()

Empty constructor for the BatchRoutingResponse.

BatchRoutingResponse(totalRequests: Int, successfulRequests: Int, responses: Array<BatchableRoutingResponse!>!)

Default constructor for the BatchRoutingResponse.

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.