T
- the type of the expected resultpublic interface Callback<T>
Modifier and Type | Method and Description |
---|---|
void |
onDone(T result)
Called when an operation completes normally.
|
void |
onError(Throwable t)
Called when the task fails to complete.
|
Copyright © 2018. All rights reserved.