Enum Class Participant.State

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

public static enum Participant.State extends Enum<Participant.State>
The state of the signaling connection for a Participant.
  • Enum Constant Details

    • CONNECTING

      public static final Participant.State CONNECTING
      The Participant is connecting to signaling.
    • CONNECTED

      public static final Participant.State CONNECTED
      The Participant has connected to signaling
    • RECONNECTING

      public static final Participant.State RECONNECTING
      The Participant is attempting to reconnect to signaling
    • DISCONNECTED

      public static final Participant.State DISCONNECTED
      The Participant has disconnected from signaling.
  • Method Details

    • values

      public static Participant.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 Participant.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