Package com.twilio.video
Enum Class Participant.State
- All Implemented Interfaces:
Serializable
,Comparable<Participant.State>
,Constable
- Enclosing interface:
- Participant
The state of the signaling connection for a Participant.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe Participant has connected to signalingThe Participant is connecting to signaling.The Participant has disconnected from signaling.The Participant is attempting to reconnect to signaling -
Method Summary
Modifier and TypeMethodDescriptionstatic Participant.State
Returns the enum constant of this class with the specified name.static Participant.State[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CONNECTING
The Participant is connecting to signaling. -
CONNECTED
The Participant has connected to signaling -
RECONNECTING
The Participant is attempting to reconnect to signaling -
DISCONNECTED
The Participant has disconnected from signaling.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-