-
- All Implemented Interfaces:
-
org.acra.collector.Collector,org.acra.plugins.Plugin
@AutoService(value = {Collector.class}) public final class DropBoxCollector extends BaseReportFieldCollectorCollects 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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classDropBoxCollector.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Collector.Orderorder
-
Constructor Summary
Constructors Constructor Description DropBoxCollector()
-
Method Summary
Modifier and Type Method Description Collector.OrdergetOrder()Unitcollect(ReportField reportField, Context context, CoreConfiguration config, ReportBuilder reportBuilder, CrashReportData target)Collect a ReportField BooleanshouldCollect(Context context, CoreConfiguration config, ReportField collect, ReportBuilder reportBuilder)this should check if the config contains the field, but may add additional checks like permissions etc. -
-
Method Detail
-
getOrder
Collector.Order getOrder()
-
collect
Unit collect(ReportField reportField, Context context, CoreConfiguration config, ReportBuilder reportBuilder, CrashReportData target)
Collect a ReportField
- Parameters:
reportField- the reportField to collectcontext- a contextconfig- current ConfigurationreportBuilder- current ReportBuildertarget- put results here
-
shouldCollect
Boolean shouldCollect(Context context, CoreConfiguration config, ReportField collect, ReportBuilder reportBuilder)
this should check if the config contains the field, but may add additional checks like permissions etc.
- Parameters:
context- a contextconfig- current configurationcollect- the field to collectreportBuilder- the current reportBuilder
-
-
-
-