Enum Class ViewStatus

java.lang.Object
java.lang.Enum<ViewStatus>
com.subaio.fintechbridge.ViewStatus
All Implemented Interfaces:
Serializable, Comparable<ViewStatus>, Constable

public enum ViewStatus extends Enum<ViewStatus>
Current status of a `BridgeView`.
  • Enum Constant Details

    • INITIALIZING

      public static final ViewStatus INITIALIZING
      The webview is starting/scripts are loading. No communication channel has been established.
    • EMPTY

      public static final ViewStatus EMPTY
      The embedded application has loaded, and is awaiting a page to load.
    • LOADING

      public static final ViewStatus LOADING
      Page has been received, embedded app is waiting for language, token or data requests to finish.
    • RUNNING

      public static final ViewStatus RUNNING
      Page has successfully started.
    • ERRORED

      public static final ViewStatus ERRORED
      Something has gone wrong, either during initialization, loading, or while the user has been interacting with the embedded app.
  • Method Details

    • values

      public static ViewStatus[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ViewStatus valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • stringToStatus

      public static ViewStatus stringToStatus(String value)