java.io.Serializable
, java.lang.Comparable<ViewStatus>
public enum ViewStatus extends java.lang.Enum<ViewStatus>
Enum Constant | Description |
---|---|
EMPTY |
The embedded application has loaded, and is awaiting a page to load.
|
ERRORED |
Something has gone wrong, either during initialization, loading, or while
the user has been interacting with the embedded app.
|
INITIALIZING |
The webview is starting/scripts are loading.
|
LOADING |
Page has been received, embedded app is waiting for language, token or
data requests to finish.
|
RUNNING |
Page has successfully started.
|
Modifier and Type | Method | Description |
---|---|---|
static ViewStatus |
stringToStatus(java.lang.String value) |
|
static ViewStatus |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ViewStatus[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ViewStatus INITIALIZING
public static final ViewStatus EMPTY
public static final ViewStatus LOADING
public static final ViewStatus RUNNING
public static final ViewStatus ERRORED
public static ViewStatus[] values()
for (ViewStatus c : ViewStatus.values()) System.out.println(c);
public static ViewStatus valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static ViewStatus stringToStatus(java.lang.String value)