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

BatchRoutingQueryBuilder

@DeprecatedSince("2020.06", "com.tomtom.online.sdk.routing.batch.BatchRoutesSpecification.Builder") class BatchRoutingQueryBuilder : IBatchRoutingQuery
Deprecated: Replaced with BatchRoutesSpecification.Builder

The default builder for BatchRoutingQuery objects.

Constructors

<init>

BatchRoutingQueryBuilder()

The default builder for BatchRoutingQuery objects.

Functions

build

fun build(): BatchRoutingQuery

Creates new instance of BatchRoutingQuery.

withReachableRangeQuery

fun withReachableRangeQuery(reachableRangeQuery: ReachableRangeQuery): BatchRoutingQueryBuilder

Adds a single ReachableRangeQuery to a list of reachable range queries that should be used in the batch routing query.

withReachableRangeQuerys

fun withReachableRangeQuerys(reachableRangeQuerys: MutableList<ReachableRangeQuery>): BatchRoutingQueryBuilder

Specifies a list of reachable range queries that should be used in the batch routing query.

withRouteQuery

fun withRouteQuery(routeQuery: RouteQuery): BatchRoutingQueryBuilder

Adds a single route query to a list of route queries that should be used in a batch routing query.

withRouteQuerys

fun withRouteQuerys(routeQuerys: MutableList<RouteQuery>): BatchRoutingQueryBuilder

Specifies a list of route queries that should be used in a batch routing query.

Companion Object Functions

create

fun create(): BatchRoutingQueryBuilder

Builder used to create an instance of BatchRoutingQuery, once constructed, the user cannot change the field values.