T - the response type.public interface CloudCallback<T>
| Modifier and Type | Method and Description | 
|---|---|
| void | onError(CloudError error)Called when an asynchronous call fails to complete normally. | 
| void | onSuccess(T response,
         CloudHeaders headers)Called when an asynchronous call completes successfully. | 
void onSuccess(T response, CloudHeaders headers)
response - the response object.headers - the response headers.void onError(CloudError error)
error - the error object.