ReportingAdministrator

Controls if reports are sent

Author

F43nd1r

Since

26.10.2017

Functions

Link copied to clipboard
open fun enabled(config: CoreConfiguration): Boolean

controls if this instance is active

Link copied to clipboard
open fun notifyReportDropped(context: Context, config: CoreConfiguration)

notifies the user about a dropped report

Link copied to clipboard
open fun shouldFinishActivity(context: Context, config: CoreConfiguration, lastActivityManager: LastActivityManager): Boolean
Link copied to clipboard
open fun shouldKillApplication(context: Context, config: CoreConfiguration, reportBuilder: ReportBuilder, crashReportData: CrashReportData?): Boolean

Determines if the application should be killed

Link copied to clipboard
open fun shouldSendReport(context: Context, config: CoreConfiguration, crashReportData: CrashReportData): Boolean

Determines if a collected report should be sent

Link copied to clipboard
open fun shouldStartCollecting(context: Context, config: CoreConfiguration, reportBuilder: ReportBuilder): Boolean

Determines if report collection should start