Package com.tomtom.sdk.search.client.autocomplete
Types
Link copied to clipboard
interface AutocompleteSearchCallback : Callback<AutocompleteSearchResponse, AutocompleteSearchError>
Content copied to clipboard
Callback that reports when AutocompleteSearchResponse or AutocompleteSearchError is received.
Link copied to clipboard
Exception thrown when a request to the Autocomplete Search API goes wrong. It contains information about the cause of the failure.
Link copied to clipboard
data class AutocompleteSearchOptions( val query: String, val language: String, val limit: Int? = null, val position: GeoCoordinate? = null, val radius: Int? = null, val countryCodes: Set<String>, val resultTypes: Set<String>)
Content copied to clipboard
Contains the parameters to use in an autocomplete search. Use the AutocompleteSearchOptions.Builder to create a new instance of the object.
Link copied to clipboard
data class AutocompleteSearchResponse(val context: AutocompleteSummary, val results: List<AutocompleteResults> = emptyList())
Content copied to clipboard
Response of the Autocomplete Search API.