-
public interface ReportSenderA simple interface for defining various crash report senders.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classReportSender.Companion
-
Method Summary
Modifier and Type Method Description Unitsend(Context context, CrashReportData errorContent)Send crash report data. Unitsend(Context context, CrashReportData errorContent, Bundle extras)Send crash report data. BooleanrequiresForeground()-
-
Method Detail
-
send
Unit send(Context context, CrashReportData errorContent)
Send crash report data.
Method will be called from the ReportDistributor.
- Parameters:
context- Android Context in which to send the crash report.errorContent- Stores key/value pairs for each report field.
-
send
Unit send(Context context, CrashReportData errorContent, Bundle extras)
Send crash report data.
Method will be called from the ReportDistributor.
- Parameters:
context- Android Context in which to send the crash report.errorContent- Stores key/value pairs for each report field.extras- additional information set in a org.acra.scheduler.DefaultSenderScheduler
-
requiresForeground
Boolean requiresForeground()
-
-
-
-