Callback

fun interface Callback<R>

Communicates the result of an asynchronous operation. onResult will be invoked exactly once per operation on the application's main (UI) thread.

Functions

Link copied to clipboard
abstract fun onResult(result: R)

Called when operation completes with the resulting object R.