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

AutocompleteSearchResponse

open class AutocompleteSearchResponse : ServiceBaseResponse, Serializable

The response to an Autocomplete Search request. It consists of a context and results.

Constructors

<init>

AutocompleteSearchResponse()

Empty constructor for the AutocompleteSearchResponse.

AutocompleteSearchResponse(contextDescriptor: ContextDescriptor!, results: Array<AutocompleteSearchResult!>!)

Default constructor for the AutocompleteSearchResponse.

Properties

contextDescriptor

var contextDescriptor: ContextDescriptor!

Information about the autocomplete request that was performed.

results

var results: Array<AutocompleteSearchResult!>!

List of the results returned by the autocomplete engine.

Functions

getContextDescriptor

open fun getContextDescriptor(): ContextDescriptor!

Returns the information about the autocomplete request that was performed.

getResults

open fun getResults(): ImmutableList<AutocompleteSearchResult!>!

toString

open fun toString(): String