Back to Acra

DialogInteraction

web/static/javadoc/5.2.1/org/acra/interaction/DialogInteraction.html

latest6.2 KB
Original Source

Skip navigation links

org.acra.interaction

Class DialogInteraction


@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

Field Summary

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. |

Constructor Summary

Constructors | Constructor and Description | | --- | | DialogInteraction() |

Method Summary

All Methods Instance Methods Concrete Methods | Modifier and Type | Method and Description | | --- | --- | | boolean | performInteraction(Context context, CoreConfiguration config, File reportFile) Perform interaction synchronously |

- 

Methods inherited from class org.acra.plugins.HasConfigPlugin

enabled

- 

Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

- 

Methods inherited from interface org.acra.plugins.Plugin

enabled

Field Detail

- 

EXTRA_REPORT_FILE

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

- 

EXTRA_REPORT_CONFIG

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

Constructor Detail

- 

DialogInteraction

public DialogInteraction()

Method Detail

- 

performInteraction

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

Skip navigation links