public interface ReportSender
Modifier and Type | Method and Description |
---|---|
void |
send(Context context,
CrashReportData errorContent)
Send crash report data.
|
void send(@NonNull Context context, @NonNull CrashReportData errorContent) throws ReportSenderException
Method will be called from the SenderService
.
context
- Android Context in which to send the crash report.errorContent
- Stores key/value pairs for each report field.ReportSenderException
- If anything goes fatally wrong during the handling of crash data, you can (should) throw a ReportSenderException
with a custom message.