SearchSelectionCallback

interface SearchSelectionCallback : SearchSuggestionsCallback

Callback for SearchResult, resolved from SearchSuggestion.

Functions

onCategoryResult
Link copied to clipboard
abstract fun onCategoryResult(suggestion: SearchSuggestion, results: List<SearchResult>, responseInfo: ResponseInfo)
Called when a category suggestion has been resolved.
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.
onSuggestions
Link copied to clipboard
abstract fun onSuggestions(suggestions: List<SearchSuggestion>, responseInfo: ResponseInfo)
Called when the suggestions list is returned.