public interface CloudResponse<T>
Modifier and Type | Method and Description |
---|---|
void |
onError(CloudException err)
Deprecated.
Invoked if there was a server error
|
void |
onSuccess(T returnValue)
Deprecated.
Invoked to return a value from the asynchronous version of the API
|
void onSuccess(T returnValue)
returnValue
- the return value of the methovoid onError(CloudException err)
err
- the exception containing the error details