Configuration Collector
class ConfigurationCollector : BaseReportFieldCollector, ApplicationStartupCollector
Content copied to clipboard
Inspects a Configuration object through reflection API in order to generate a human readable String with values replaced with their constants names. The Configuration.toString method was not enough as values like 0, 1, 2 or 3 aren't readable. Using reflection API allows to retrieve hidden fields and can make us hope to be compatible with all Android API levels, even those which are not published yet.
Author
Kevin Gaudin & F43nd1r
Constructors
ConfigurationCollector
Link copied to clipboard
fun ConfigurationCollector()
Content copied to clipboard
Types
Functions
collect
Link copied to clipboard
open override fun collect(context: Context, config: CoreConfiguration, reportBuilder: ReportBuilder, crashReportData: CrashReportData)
Content copied to clipboard
open override fun collect(reportField: ReportField, context: Context, config: CoreConfiguration, reportBuilder: ReportBuilder, target: CrashReportData)
Content copied to clipboard
collectApplicationStartUp
Link copied to clipboard
open override fun collectApplicationStartUp(context: Context, config: CoreConfiguration)
Content copied to clipboard
enabled
Link copied to clipboard
shouldCollect
Link copied to clipboard
fun shouldCollect(context: Context, config: CoreConfiguration, collect: ReportField, reportBuilder: ReportBuilder): Boolean
Content copied to clipboard
Properties
order
Link copied to clipboard