public interface ResultCallback<T>
| Modifier and Type | Method and Description |
|---|---|
void |
onError(java.lang.Exception e)
Method will be called when operation has failed
|
void |
onResult(T result)
Method will be called when operation has completed successfully
|
void onResult(T result)
result - the result receivedvoid onError(java.lang.Exception e)
e - the exception in case of error