public class CrashReportDialogHelper extends Object
| Constructor and Description |
|---|
CrashReportDialogHelper(Context context,
Intent intent)
Call this in your
Activity.onCreate(Bundle). |
| Modifier and Type | Method and Description |
|---|---|
void |
cancelReports()
Cancel any pending crash reports.
|
CoreConfiguration |
getConfig()
Provides the configuration
|
CrashReportData |
getReportData()
loads the current report data
|
void |
sendCrash(String comment,
String userEmail)
Send crash report given user's comment and email address.
|
public CrashReportDialogHelper(@NonNull
Context context,
@NonNull
Intent intent)
throws IllegalArgumentException
Activity.onCreate(Bundle).
The intent must contain two extras:
context - a contextintent - the intent which started this activityIllegalArgumentException - if the intent cannot be parsed or does not contain the correct data@WorkerThread @NonNull public CrashReportData getReportData() throws IOException
IOException - if there was a problem with the report filepublic void cancelReports()
public void sendCrash(@Nullable
String comment,
@Nullable
String userEmail)
comment - Comment (may be null) provided by the user.userEmail - Email address (may be null) provided by the user.public CoreConfiguration getConfig()