public final class AnalysisScreenEvent
extends java.lang.Enum
If you use the Screen API all events will be triggered automatically.
If you use the Component API some events will not be triggered (for ex. events which rely on Activity#onBackPressed()
). You
need to check whether all the events you are interested in are triggered.
Modifier and Type | Class and Description |
---|---|
static class |
AnalysisScreenEvent.ERROR_DETAILS_MAP_KEY
Keys to retrieve details about the
AnalysisScreenEvent.ERROR event. |
Modifier and Type | Field and Description |
---|---|
static AnalysisScreenEvent |
CANCEL
Triggers when the user presses back.(Screen API only)
|
static AnalysisScreenEvent |
ERROR
Triggers when analysis failed.(Screen API + Component API)
|
static AnalysisScreenEvent |
RETRY
Triggers when the user retries analysis after it failed.(Screen API + Component API)
|
Modifier and Type | Method and Description |
---|---|
static AnalysisScreenEvent |
valueOf(java.lang.String name) |
static AnalysisScreenEvent[] |
values() |
public static final AnalysisScreenEvent CANCEL
public static final AnalysisScreenEvent ERROR
Use the keys in AnalysisScreenEvent.ERROR_DETAILS_MAP_KEY
to get details about the event from the details map.
public static final AnalysisScreenEvent RETRY
public static AnalysisScreenEvent[] values()
public static AnalysisScreenEvent valueOf(java.lang.String name)