public interface ReportingAdministrator extends Plugin
| Modifier and Type | Method and Description |
|---|---|
default void |
notifyReportDropped(Context context,
CoreConfiguration config)
notifies the user about a dropped report
|
default boolean |
shouldFinishActivity(Context context,
CoreConfiguration config,
LastActivityManager lastActivityManager) |
default boolean |
shouldKillApplication(Context context,
CoreConfiguration config,
ReportBuilder reportBuilder,
CrashReportData crashReportData)
Determines if the application should be killed
|
default boolean |
shouldSendReport(Context context,
CoreConfiguration config,
CrashReportData crashReportData)
Determines if a collected report should be sent
|
default boolean |
shouldStartCollecting(Context context,
CoreConfiguration config,
ReportBuilder reportBuilder)
Determines if report collection should start
|
default boolean shouldStartCollecting(@NonNull Context context, @NonNull CoreConfiguration config, @NonNull ReportBuilder reportBuilder)
context - a contextconfig - the current configreportBuilder - the reportBuilder for the report about to be collecteddefault boolean shouldSendReport(@NonNull Context context, @NonNull CoreConfiguration config, @NonNull CrashReportData crashReportData)
context - a contextconfig - the current configcrashReportData - the collected reportdefault void notifyReportDropped(@NonNull Context context, @NonNull CoreConfiguration config)
context - a contextconfig - the current configdefault boolean shouldFinishActivity(@NonNull Context context, @NonNull CoreConfiguration config, LastActivityManager lastActivityManager)
default boolean shouldKillApplication(@NonNull Context context, @NonNull CoreConfiguration config, @NonNull ReportBuilder reportBuilder, @Nullable CrashReportData crashReportData)
context - a contextconfig - the current configreportBuilder - the reportBuilder for the report about to be collectedcrashReportData - the collected report