SimpleValuesCollector

@AutoService(value = [Collector::class])
class SimpleValuesCollector : BaseReportFieldCollector

Collects various simple values

Author

F43nd1r

Since

4.9.1

Constructors

SimpleValuesCollector
Link copied to clipboard
fun SimpleValuesCollector()

Types

Companion
Link copied to clipboard
object Companion

Functions

collect
Link copied to clipboard
open override fun collect(context: Context, config: CoreConfiguration, reportBuilder: ReportBuilder, crashReportData: CrashReportData)
Calls .
open override fun collect(reportField: ReportField, context: Context, config: CoreConfiguration, reportBuilder: ReportBuilder, target: CrashReportData)
Collect a ReportField
enabled
Link copied to clipboard
open fun enabled(config: CoreConfiguration): Boolean
controls if this instance is active
shouldCollect
Link copied to clipboard
open override fun shouldCollect(context: Context, config: CoreConfiguration, collect: ReportField, reportBuilder: ReportBuilder): Boolean
this should check if the config contains the field, but may add additional checks like permissions etc.

Properties

order
Link copied to clipboard
open val order: Collector.Order