autocomplete

fun autocomplete(    request: SearchRequest,     listener: AutocompleteResultListener,     executor: Executor? = null)

Performs autocomplete, can be called 0..N times during single session, if afterwards

Parameters

request

Request defining the query

listener

Listener callback for autocomplete results

executor

Executor for listener, the default is MainThread