Enum Class Stage.ConnectionState

java.lang.Object
java.lang.Enum<Stage.ConnectionState>
com.amazonaws.ivs.broadcast.Stage.ConnectionState
All Implemented Interfaces:
Serializable, Comparable<Stage.ConnectionState>, Constable
Enclosing class:
Stage

public static enum Stage.ConnectionState extends Enum<Stage.ConnectionState>
ConnectionState indicates current Stage session state
  • Enum Constant Details

    • DISCONNECTED

      public static final Stage.ConnectionState DISCONNECTED
      SDK is not connected to Stage session
    • CONNECTING

      public static final Stage.ConnectionState CONNECTING
      SDK is establishing connection to Stage session
    • CONNECTED

      public static final Stage.ConnectionState CONNECTED
      SDK is connected to Stage session
  • Method Details

    • values

      public static Stage.ConnectionState[] 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 Stage.ConnectionState 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