Base Report Field Collector
abstract class BaseReportFieldCollector(reportFields: ReportField) : Collector
Content copied to clipboard
Base implementation of a collector. Maintains information on which fields can be collected by this collector. Validates constraints in which a field should (not) be collected.
Author
F43nd1r
Since
4.9.1
Constructors
Functions
Link copied to clipboard
open override fun collect(context: Context, config: CoreConfiguration, reportBuilder: ReportBuilder, crashReportData: CrashReportData)
Content copied to clipboard
Calls .shouldCollect for each ReportField and then .collect if it returned true
abstract fun collect(reportField: ReportField, context: Context, config: CoreConfiguration, reportBuilder: ReportBuilder, target: CrashReportData)
Content copied to clipboard
Collect a ReportField
Link copied to clipboard
controls if this instance is active
Link copied to clipboard
fun shouldCollect(context: Context, config: CoreConfiguration, collect: ReportField, reportBuilder: ReportBuilder): Boolean
Content copied to clipboard
this should check if the config contains the field, but may add additional checks like permissions etc.
Properties
Inheritors
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard