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

    Nested classes/interfaces inherited from class java.lang.Enum

    java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>
  • 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.

    Methods inherited from class java.lang.Enum

    clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • 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 type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static ViewStatus valueOf​(java.lang.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.)
      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 name
      java.lang.NullPointerException - if the argument is null
    • stringToStatus

      public static ViewStatus stringToStatus​(java.lang.String value)