autocompleteSearch

Performs a synchronous Autocomplete Search using the provided AutocompleteOptions object. Delivers the Result using an AutocompleteResponse, or a SearchFailure if the action fails.

Return

The Result contains an AutocompleteResponse if the call succeeds, or a SearchFailure if it fails.

Parameters

options

The object which contains the data for the autocomplete search.


Performs an asynchronous autocomplete search using the provided AutocompleteOptions object. Returns the result using the provided AutocompleteCallback.

Return

Cancellable search operation.

Parameters

options

The object which contains the data for the autocomplete search.

callback

The AutocompleteCallback invoked when the search operation has finished, either successfully or with an error. The callback will be executed in the main thread.