sdk-search / com.tomtom.online.sdk.search.autocomplete / AutocompleteSpecification / Builder / <init>

<init>

Builder(term: String, language: String)

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

Parameters

term - The searched term.

language - Language in which autocomplete results should be returned. Should be one of the TomTom supported IETF language tags. See https://developer.tomtom.com/search-api/search-api/supported-languages for more details.