CompletionCallback

interface CompletionCallback<T>

Interface definition for a commonly used in the Search SDK callback to be invoked when asynchronous operation completes.

Functions

onComplete
Link copied to clipboard
abstract fun onComplete(result: T)
Invoked when an operation completes successfully.
onError
Link copied to clipboard
abstract fun onError(e: Exception)
Invoked when an error happened.