Package com.tomtom.sdk.search.client.autocomplete

Types

Link copied to clipboard

Callback that reports when an AutocompleteSearchResponse or SearchError is received.

Link copied to clipboard
data class AutocompleteSearchOptions(    val query: String,     val locale: Locale? = null,     @IntRange(from = 1, to = 10) val limit: Int = 5,     val position: GeoCoordinate? = null,     val radius: Int? = null,     val countryCodeSet: Set<String> = emptySet(),     val resultTypes: Set<ResultType> = emptySet(),     val sessionId: String = "")

Contains the parameters to use in an autocomplete search.

Link copied to clipboard
data class AutocompleteSearchResponse(val summary: AutocompleteSummary, val results: List<AutocompleteResults> = emptyList())

Response of the Autocomplete Search API.