@PublicPreview("2021.06") data class AutocompleteSpecification
Represents parameters that will be used for the Autocomplete search.
language
- Language in which the 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.
searchEngineDescriptor
- Describes the configuration of the Autocomplete search engine.
locationDescriptor
- Describes the location that will be used for the Autocomplete search.
class Builder
Builder used to create an instance of AutocompleteSpecification. Once constructed, the user cannot change the field values. |
val language: String
Language in which the 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. |
|
val locationDescriptor: AutocompleteLocationDescriptor?
Describes the location that will be used for the Autocomplete search. |
|
val searchEngineDescriptor: AutocompleteSearchEngineDescriptor?
Describes the configuration of the Autocomplete search engine. |
|
val term: String
The searched term. |