Enum Class Room.State

java.lang.Object
java.lang.Enum<Room.State>
com.twilio.video.Room.State
All Implemented Interfaces:
Serializable, Comparable<Room.State>, Constable
Enclosing class:
Room

public static enum Room.State extends Enum<Room.State>
Represents the current state of a Room.
  • Enum Constant Details

    • CONNECTING

      public static final Room.State CONNECTING
    • CONNECTED

      public static final Room.State CONNECTED
    • RECONNECTING

      public static final Room.State RECONNECTING
    • DISCONNECTED

      public static final Room.State DISCONNECTED
  • Method Details

    • values

      public static Room.State[] 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 Room.State 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