SearchSelectionCallback

interface SearchSelectionCallback : SearchSuggestionsCallback

Callback for SearchResult, resolved from SearchSuggestion.

Functions

onError
Link copied to clipboard
abstract fun onError(e: Exception)
Called if an error occurred during the request.
onResult
Link copied to clipboard
abstract fun onResult(suggestion: SearchSuggestion, result: SearchResult, responseInfo: ResponseInfo)
Called when final SearchResult resolved.
onResults
Link copied to clipboard
abstract fun onResults(suggestion: SearchSuggestion, results: List<SearchResult>, responseInfo: ResponseInfo)
Called when suggestion selection returned more than one result.
onSuggestions
Link copied to clipboard
abstract fun onSuggestions(suggestions: List<SearchSuggestion>, responseInfo: ResponseInfo)
Called when the suggestions list is returned.