CompletionCallback

interface CompletionCallback<T>

Interface definition for a callback to be invoked when asynchronous data provider 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.