onResult

abstract fun onResult(suggestions: List<SearchSuggestion>, results: List<SearchResult>, responseInfo: ResponseInfo)

Called when suggestions have been resolved.

Parameters

suggestions

The suggestions from which the results were resolved. Note that these suggestions is not necessary the same as ones passed to SearchEngine.select because the function filters suggestions that don't support batch resolving.

results

Resolved search results for search suggestions.

responseInfo

Search response and request information.