public abstract class CallbackListener
Interface for a generic listener object with result.
Public Constructors | |
---|---|
CallbackListener()
Creates a new CallbackListener instance. |
Public methods | |
---|---|
void |
onSuccess(T value)
Callback to report success status with result value of an asynchronous call to the back end. |
void |
onError(StringeeError errorInfo)
Callback to report error status of an asynchronous call to the back end. |
CallbackListener()
Creates a new CallbackListener instance.
abstract void onSuccess(T value)
Callback to report success status with result value of an asynchronous call to the back end.
void onError(StringeeError errorInfo)
Callback to report error status of an asynchronous call to the back end.
Parameters | |
---|---|
errorInfo |
The StringeeError Object containing error information. |