send

open fun send(context: Context, errorContent: CrashReportData)

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.

Throws

If anything goes fatally wrong during the handling of crash data, you can (should) throw a ReportSenderException with a custom message.


open fun send(context: Context, errorContent: CrashReportData, extras: Bundle)

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

Throws

If anything goes fatally wrong during the handling of crash data, you can (should) throw a ReportSenderException with a custom message.