public interface ReportSender
| Modifier and Type | Method and Description |
|---|---|
default boolean |
requiresForeground() |
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 LegacySenderService.
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.default boolean requiresForeground()