@AutoService(value=ReportingAdministrator.class) public class LimitingReportAdministrator extends HasConfigPlugin implements ReportingAdministrator
| Constructor and Description |
|---|
LimitingReportAdministrator() |
| Modifier and Type | Method and Description |
|---|---|
void |
notifyReportDropped(Context context,
CoreConfiguration config)
notifies the user about a dropped report
|
boolean |
shouldSendReport(Context context,
CoreConfiguration config,
CrashReportData crashReportData)
Determines if a collected report should be sent
|
boolean |
shouldStartCollecting(Context context,
CoreConfiguration config,
ReportBuilder reportBuilder)
Determines if report collection should start
|
enabledclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitshouldFinishActivity, shouldKillApplicationpublic boolean shouldStartCollecting(@NonNull
Context context,
@NonNull
CoreConfiguration config,
@NonNull
ReportBuilder reportBuilder)
ReportingAdministratorshouldStartCollecting in interface ReportingAdministratorcontext - a contextconfig - the current configreportBuilder - the reportBuilder for the report about to be collectedpublic boolean shouldSendReport(@NonNull
Context context,
@NonNull
CoreConfiguration config,
@NonNull
CrashReportData crashReportData)
ReportingAdministratorshouldSendReport in interface ReportingAdministratorcontext - a contextconfig - the current configcrashReportData - the collected reportpublic void notifyReportDropped(@NonNull
Context context,
@NonNull
CoreConfiguration config)
ReportingAdministratornotifyReportDropped in interface ReportingAdministratorcontext - a contextconfig - the current config