onSuggestions

abstract fun onSuggestions(suggestions: List<AutocompleteResult>, error: Error?)

Called when a new search suggestions have been found for given search

Parameters

suggestions

list of suggestions for given query

error

error indicating if something went wrong during the search