public abstract static class Constants.CallbackListener<T>
extends java.lang.Object
Constructor and Description |
---|
CallbackListener() |
Modifier and Type | Method and Description |
---|---|
void |
onError(ErrorInfo errorInfo)
Callback to report errorInfo status of an asynchronous call to the back end.
|
abstract void |
onSuccess(T result)
Callback to report success status of an asynchronous call to the back end.
|
public abstract void onSuccess(T result)
result
- Successful return value.public void onError(ErrorInfo errorInfo)
errorInfo
- Object containing error information.