-
- All Implemented Interfaces:
public enum AnalysisScreenEventEvents triggered on the analysis screen.
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 onBackPressed). You need to check whether all the events you are interested in are triggered.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classAnalysisScreenEvent.ERROR_DETAILS_MAP_KEYKeys to retrieve details about the ERROR event.
-
Enum Constant Summary
Enum Constants Enum Constant Description CANCELTriggers when the user presses back.(Screen API only)
ERRORTriggers when analysis failed.(Screen API + Component API)
Use the keys in ERROR_DETAILS_MAP_KEY to get details about the event from the details map.
RETRYTriggers when the user retries analysis after it failed.(Screen API + Component API)
-
Method Summary
Modifier and Type Method Description static Array<AnalysisScreenEvent>values()Returns an array containing the constants of this enum type, in the order they're declared. static AnalysisScreenEventvalueOf(String name)Returns the enum constant of this type with the specified name. -
-
Method Detail
-
values
static Array<AnalysisScreenEvent> values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.
-
valueOf
static AnalysisScreenEvent valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
-
-
-