SearchResultCallback

Search callback for when only one response is expected

Functions

Link copied to clipboard
abstract fun onError(e: Exception)

Called in case if error occurred during request.

Link copied to clipboard
abstract fun onResult(result: SearchResult, responseInfo: ResponseInfo)

Called when the result is ready.