Interface AnalyticsListener
-
public interface AnalyticsListener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonBeforeSending(com.microsoft.appcenter.ingestion.models.Log log)Called right before sending a log.voidonSendingFailed(com.microsoft.appcenter.ingestion.models.Log log, java.lang.Exception e)Called when sending a log failed.voidonSendingSucceeded(com.microsoft.appcenter.ingestion.models.Log log)Called when a log is sent successfully.
-
-
-
Method Detail
-
onBeforeSending
void onBeforeSending(com.microsoft.appcenter.ingestion.models.Log log)
Called right before sending a log. The callback can be invoked multiple times based on the number of logs.- Parameters:
log- The log that will be sent.
-
onSendingFailed
void onSendingFailed(com.microsoft.appcenter.ingestion.models.Log log, java.lang.Exception e)Called when sending a log failed. The report failed to send after the maximum retries so it will be discarded and won't be retried.- Parameters:
log- The log that failed to send.e- An exception that caused failure.
-
onSendingSucceeded
void onSendingSucceeded(com.microsoft.appcenter.ingestion.models.Log log)
Called when a log is sent successfully.- Parameters:
log- The log that was sent successfully.
-
-