T - the result typepublic interface SingleResultCallback<T>
| Modifier and Type | Method and Description |
|---|---|
void |
onResult(T result,
java.lang.Throwable t)
Called when the operation completes.
|
void onResult(T result, java.lang.Throwable t)
result - the result, which may be null. Always null if e is not null.t - the throwable, or null if the operation completed normally