@AutoService(value=ReportInteraction.class) public class DialogInteraction extends HasConfigPlugin implements ReportInteraction
Modifier and Type | Field and Description |
---|---|
static String |
EXTRA_REPORT_CONFIG
Used in the intent starting CrashReportDialog to provide the AcraConfig to use when gathering the crash info.
|
static String |
EXTRA_REPORT_FILE
Used in the intent starting CrashReportDialog to provide the name of the
latest generated report file in order to be able to associate the user
comment.
|
Constructor and Description |
---|
DialogInteraction() |
Modifier and Type | Method and Description |
---|---|
boolean |
performInteraction(Context context,
CoreConfiguration config,
File reportFile)
Perform interaction synchronously
|
enabled
public static final String EXTRA_REPORT_FILE
public static final String EXTRA_REPORT_CONFIG
This can be used by any BaseCrashReportDialog subclass to custom the dialog.
public boolean performInteraction(@NonNull Context context, @NonNull CoreConfiguration config, @NonNull File reportFile)
ReportInteraction
performInteraction
in interface ReportInteraction
context
- a contextconfig
- the configurationreportFile
- the file with the report content