SearchCallback

interface SearchCallback : Callback<SearchResponse, SearchError>

Callback that reports when a SearchResponse or SearchError has been received.

Important: This is a Public Preview API. It may be changed or removed at any time.

Functions

Link copied to clipboard
abstract fun onError(error: SearchError)
Link copied to clipboard
abstract fun onSuccess(result: SearchResponse)