public interface RequestCallback<T>
Modifier and Type | Method and Description |
---|---|
void |
onException(java.lang.Throwable exception)
An exception occurred during the operation
|
void |
onFailed(int code)
Failed operation
|
void |
onSuccess(T param)
Successful operation
|
void onSuccess(T param)
param
- The operation resultvoid onFailed(int code)
code
- The error code.void onException(java.lang.Throwable exception)
exception
- Exception details