web/static/javadoc/5.4.0/org/acra/interaction/NotificationInteraction.html
org.acra.interaction
All Implemented Interfaces:ReportInteraction, Plugin
@AutoService(value=[ReportInteraction.class](../../../org/acra/interaction/ReportInteraction.html "interface in org.acra.interaction"))
public classNotificationInteractionextends[HasConfigPlugin](../../../org/acra/plugins/HasConfigPlugin.html "class in org.acra.plugins")implements[ReportInteraction](../../../org/acra/interaction/ReportInteraction.html "interface in org.acra.interaction")
Since:15.09.2017
Fields | Modifier and Type | Field and Description |
| --- | --- |
| static String | EXTRA_REPORT_FILE |
| static String | INTENT_ACTION_DISCARD |
| static String | INTENT_ACTION_SEND |
| static String | KEY_COMMENT |
| static int | NOTIFICATION_ID |
Constructors | Constructor and Description |
| --- |
| NotificationInteraction() |
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")INTENT_ACTION_SEND
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")INTENT_ACTION_DISCARD
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")KEY_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_FILE
See Also:Constant Field Values
-
public static final int NOTIFICATION_ID
See Also:Constant Field Values
-
public NotificationInteraction()
-
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