sdk-search / com.tomtom.online.sdk.search.data.autocomplete / AutocompleteSearchQueryBuilder

AutocompleteSearchQueryBuilder

open class AutocompleteSearchQueryBuilder : IAutocompleteSearchQuery

Builder class used to create AutocompleteSearchQuery.

Constructors

<init>

AutocompleteSearchQueryBuilder(term: String!, language: String!)

Functions

build

open fun build(): AutocompleteSearchQuery!

Creates a new instance of AutocompleteSearchQuery.

create

open static fun create(term: String!, language: String!): AutocompleteSearchQueryBuilder!

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

withCountry

open fun withCountry(country: String!): AutocompleteSearchQueryBuilder

withLimit

open fun withLimit(limit: Int): AutocompleteSearchQueryBuilder

withPosition

open fun withPosition(position: LatLng!): AutocompleteSearchQueryBuilder

withRadius

open fun withRadius(radius: Int): AutocompleteSearchQueryBuilder

withResultTypes

open fun withResultTypes(resultTypes: MutableList<ResultType!>!): AutocompleteSearchQueryBuilder