public interface ReportSender
| Modifier and Type | Method and Description |
|---|---|
default boolean |
requiresForeground() |
default void |
send(Context context,
CrashReportData errorContent)
Send crash report data.
|
default void |
send(Context context,
CrashReportData errorContent,
BundleWrapper extras)
Send crash report data.
|
default 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 void send(@NonNull
Context context,
@NonNull
CrashReportData errorContent,
@NonNull
BundleWrapper extras)
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.extras - additional information set in a DefaultSenderSchedulerReportSenderException - If anything goes fatally wrong during the handling of crash data, you can (should) throw a ReportSenderException with a custom message.default boolean requiresForeground()