web/static/javadoc/5.2.1/org/acra/interaction/DialogInteraction.html
org.acra.interaction
All Implemented Interfaces:ReportInteraction, Plugin
@AutoService(value=[ReportInteraction.class](../../../org/acra/interaction/ReportInteraction.html "interface in org.acra.interaction"))
public classDialogInteractionextends[HasConfigPlugin](../../../org/acra/plugins/HasConfigPlugin.html "class in org.acra.plugins")implements[ReportInteraction](../../../org/acra/interaction/ReportInteraction.html "interface in org.acra.interaction")
Since:02.06.2017
Fields | 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.
|
Constructors | Constructor and Description |
| --- |
| DialogInteraction() |
All Methods Instance Methods Concrete Methods | Modifier and Type | Method and Description |
| --- | --- |
| boolean | performInteraction(Context context, CoreConfiguration config, File reportFile)
Perform interaction synchronously
|
-
enabled
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
enabled
-
public static final[String](http://d.android.com/reference/java/lang/String.html?is-external=true "class or interface in java.lang")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. See Also:Constant Field Values
-
public static final[String](http://d.android.com/reference/java/lang/String.html?is-external=true "class or interface in java.lang")EXTRA_REPORT_CONFIG
Used in the intent starting CrashReportDialog to provide the AcraConfig to use when gathering the crash info.
This can be used by any BaseCrashReportDialog subclass to custom the dialog.
See Also:Constant Field Values
-
public DialogInteraction()
-
public boolean performInteraction([@NonNull](http://d.android.com/reference/android/support/annotation/NonNull.html?is-external=true "class or interface in android.support.annotation")[Context](http://d.android.com/reference/android/content/Context.html?is-external=true "class or interface in android.content")context,[@NonNull](http://d.android.com/reference/android/support/annotation/NonNull.html?is-external=true "class or interface in android.support.annotation")[CoreConfiguration](../../../org/acra/config/CoreConfiguration.html "class in org.acra.config")config,[@NonNull](http://d.android.com/reference/android/support/annotation/NonNull.html?is-external=true "class or interface in android.support.annotation")[File](http://d.android.com/reference/java/io/File.html?is-external=true "class or interface in java.io")reportFile)
Description copied from interface: ReportInteraction
Perform interaction synchronously
Specified by:performInteraction in interface ReportInteractionParameters:context - a contextconfig - the configurationreportFile - the file with the report contentReturns:if reports should be sent instantly