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. -- GETTER --

Functions

getResults

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