Back to Acra

NotificationInteraction

web/static/javadoc/5.4.0/org/acra/interaction/NotificationInteraction.html

latest6.8 KB
Original Source

Skip navigation links

org.acra.interaction

Class NotificationInteraction


@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

Field Summary

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 |

Constructor Summary

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

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

- 

INTENT_ACTION_SEND

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

- 

INTENT_ACTION_DISCARD

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

- 

KEY_COMMENT

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

- 

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

See Also:Constant Field Values

- 

NOTIFICATION_ID

public static final int NOTIFICATION_ID

See Also:Constant Field Values

Constructor Detail

- 

NotificationInteraction

public NotificationInteraction()

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