Package com.subaio.fintechbridge
Enum ViewStatus
java.lang.Object
java.lang.Enum<ViewStatus>
com.subaio.fintechbridge.ViewStatus
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ViewStatus>
,java.lang.constant.Constable
public enum ViewStatus extends java.lang.Enum<ViewStatus>
Current status of a `BridgeView`.
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants 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. -
Method Summary
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.
-
Enum Constant Details
-
INITIALIZING
The webview is starting/scripts are loading. No communication channel has been established. -
EMPTY
The embedded application has loaded, and is awaiting a page to load. -
LOADING
Page has been received, embedded app is waiting for language, token or data requests to finish. -
RUNNING
Page has successfully started. -
ERRORED
Something has gone wrong, either during initialization, loading, or while the user has been interacting with the embedded app.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
stringToStatus
-