public interface RequestCallback
| Modifier and Type | Method and Description |
|---|---|
void |
onFailure(int successCount,
java.util.List<Event> failedEvents)
If all/some events failed then the count of successful
events is returned along with all the failed Events.
|
void |
onSuccess(int successCount)
If all events are sent successfully then the count
of sent events are returned.
|
void onSuccess(int successCount)
successCount - the successful countvoid onFailure(int successCount,
java.util.List<Event> failedEvents)
successCount - the successful countfailedEvents - the list of failed events