public interface TelemetryListener
| Modifier and Type | Method and Description |
|---|---|
void |
onHttpFailure(java.lang.String message)
Invoked when the HTTP request fails.
|
void |
onHttpResponse(boolean successful,
int code)
Invoked when we obtain a HTTP response.
|
void |
onSendEvents(int size)
Invoked when sending a new batch of events.
|
void onSendEvents(int size)
size - the number of events being sentvoid onHttpResponse(boolean successful,
int code)
successful - whether the request was successfulcode - the HTTP code of the responsevoid onHttpFailure(java.lang.String message)
message - the error message