- All Implemented Interfaces:
Serializable
,Comparable<RTCIceConnectionState>
,Constable
Describes the current state of the ICE agent and its connection to the ICE
server (that is, the STUN or TURN server).
- Author:
- Alex Andres
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionNone of the previous states apply and any RTCIceTransports are in the "NEW" or "CHECKING" state.The RTCPeerConnection is closed.None of the previous states apply and all RTCIceTransports are in the "COMPLETED" or "CLOSED" state.None of the previous states apply and all RTCIceTransports are in the "CONNECTED", "COMPLETED" or "CLOSED" state.None of the previous states apply and any RTCIceTransports are in the "DISCONNECTED" state.The previous state doesn't apply and any RTCIceTransports are in the "FAILED" state.None of the previous states apply and all RTCIceTransports are in the "NEW" or "CLOSED" state, or there are no transports. -
Method Summary
Modifier and TypeMethodDescriptionstatic RTCIceConnectionState
Returns the enum constant of this class with the specified name.static RTCIceConnectionState[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NEW
None of the previous states apply and all RTCIceTransports are in the "NEW" or "CLOSED" state, or there are no transports. -
CHECKING
None of the previous states apply and any RTCIceTransports are in the "NEW" or "CHECKING" state. -
CONNECTED
None of the previous states apply and all RTCIceTransports are in the "CONNECTED", "COMPLETED" or "CLOSED" state. -
COMPLETED
None of the previous states apply and all RTCIceTransports are in the "COMPLETED" or "CLOSED" state. -
FAILED
The previous state doesn't apply and any RTCIceTransports are in the "FAILED" state. -
DISCONNECTED
None of the previous states apply and any RTCIceTransports are in the "DISCONNECTED" state. -
CLOSED
The RTCPeerConnection is closed.
-
-
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
-