public interface ConnectBatchCallback
| Modifier and Type | Method and Description |
|---|---|
void |
onFailure(ConnectException e)
Called when a request to Connect has failed.
|
void |
onSuccess(java.util.Map<java.lang.String,java.lang.Iterable<EventPushResponse>> details)
Called when a request to Connect has been successful.
|
void onSuccess(java.util.Map<java.lang.String,java.lang.Iterable<EventPushResponse>> details)
details - A Map of key/value pairs of collection name and a list of EventPushResponses respectively.void onFailure(ConnectException e)
e - A ConnectException outlining the error that occurred.
Will be InvalidEventException,
or a generic ConnectException with an inner exception.