DropBoxCollector

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

Collects data from the DropBoxManager. A set of DropBox tags have been identified in the Android source code. We collect data associated to these tags with hope that some of them could help debugging applications. Application specific tags can be provided by the app dev to track his own usage of the DropBoxManager.

Author

Kevin Gaudin & F43nd1r

Constructors

DropBoxCollector
Link copied to clipboard
fun DropBoxCollector()

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 override val order: Collector.Order