@AutoService(value=ReportInteraction.class) public class NotificationInteraction extends HasConfigPlugin implements ReportInteraction
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 and Description |
---|
NotificationInteraction() |
Modifier and Type | Method and Description |
---|---|
boolean |
performInteraction(Context context,
CoreConfiguration config,
File reportFile)
Perform interaction synchronously
|
enabled
public static final String INTENT_ACTION_SEND
public static final String INTENT_ACTION_DISCARD
public static final String KEY_COMMENT
public static final String EXTRA_REPORT_FILE
public static final int NOTIFICATION_ID
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