sdk-search / com.tomtom.online.sdk.search.data.alongroute / AlongRouteSearchQueryBuilder

AlongRouteSearchQueryBuilder

open class AlongRouteSearchQueryBuilder : IAlongRouteSearchQuery

Builder class used to create AlongRouteSearchQuery.

Constructors

<init>

AlongRouteSearchQueryBuilder(term: String!, route: MutableList<LatLng!>!, maxDetourTime: Int!)

Functions

build

open fun build(): AlongRouteSearchQuery!

Creates a new instance of AlongRouteSearchQuery.

create

open static fun create(term: String!, route: MutableList<LatLng!>!, maxDetourTime: Int!): AlongRouteSearchQueryBuilder!

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

withBrandSet

open fun withBrandSet(brandSet: String!): AlongRouteSearchQueryBuilder

withCategorySet

open fun withCategorySet(categorySet: MutableList<Long!>!): AlongRouteSearchQueryBuilder

withDetourOffset

open fun withDetourOffset(): AlongRouteSearchQueryBuilder

withEVConnectorSetFilter

open fun withEVConnectorSetFilter(EVConnectorSetFilter: String!): AlongRouteSearchQueryBuilder

withGeopoliticalView

open fun withGeopoliticalView(geopoliticalView: String!): AlongRouteSearchQueryBuilder

withLimit

open fun withLimit(limit: Int!): AlongRouteSearchQueryBuilder

withMapCodes

open fun withMapCodes(mapCodes: MutableSet<MapCodeType!>!): AlongRouteSearchQueryBuilder

withOpeningHours

open fun withOpeningHours(openingHours: OpeningHoursMode!): AlongRouteSearchQueryBuilder

withSortBy

open fun withSortBy(sortBy: SortBy!): AlongRouteSearchQueryBuilder

withSpreadingMode

open fun withSpreadingMode(spreadingMode: SpreadingMode!): AlongRouteSearchQueryBuilder

withTimeZone

open fun withTimeZone(timeZone: TimeZoneType!): AlongRouteSearchQueryBuilder