public interface CrashReportCallback
CrashReportCallback interface can be used to be notified of a crash during the next initialization.
To configure the AppDynamics Agent to use your callback, use AgentConfiguration.Builder.withCrashCallback(com.appdynamics.eumagent.runtime.CrashReportCallback)
Modifier and Type | Method and Description |
---|---|
void |
onCrashesReported(java.util.Collection<CrashReportSummary> summaries)
Called when a Crash Report is about to be sent.
|
void onCrashesReported(java.util.Collection<CrashReportSummary> summaries)
Called when a Crash Report is about to be sent.
Typically the summaries will have a size of 1, but if the app is crashing very early during start up, summaries could be larger.
WARNING: This callback is notified on your app’s UI thread, so any long operations should be performed asynchronously.
summaries
- a collection of CrashReportSummary
s that was loaded this time