public interface ReportPrimer
ReportBuilder
with any extra data to record for the current crash report.
ReportPrimer is configured declaratively via ReportsCrashes.reportPrimerClass()
.
The ReportPrimer class MUST have a no arg constructor and is created when ACRA is initialised.
Created by William on 9 Jan 2016.Modifier and Type | Method and Description |
---|---|
void |
primeReport(android.content.Context context,
ReportBuilder builder)
Update builder via
ReportBuilder.customData(Map) or ReportBuilder.customData(String, String)
with any extra dta application to just this crash. |
void primeReport(android.content.Context context, ReportBuilder builder)
ReportBuilder.customData(Map)
or ReportBuilder.customData(String, String)
with any extra dta application to just this crash.
Builder is fully constructed when this method is called, so it can be introspected for details of the crash.
Note that this method will only be called if ACRA is currently enabled.context
- Application context from which to retrieve resources.builder
- Full configured ReportBuilder
for the current crash report.