- All Implemented Interfaces:
Serializable
,Comparable<RTCSignalingState>
,Constable
Describes the state of the signaling process on the local end of the
RTCPeerConnection.
- 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 ConstantDescriptionThe RTCPeerConnection has been closed.A local description, of type "offer", has been successfully applied.A remote description of type "offer" has been successfully applied and a local description of type "pranswer" has been successfully applied.A remote description, of type "offer", has been successfully applied.A local description of type "offer" has been successfully applied and a remote description of type "pranswer" has been successfully applied.There is no offer/answer exchange in progress. -
Method Summary
Modifier and TypeMethodDescriptionstatic RTCSignalingState
Returns the enum constant of this class with the specified name.static RTCSignalingState[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STABLE
There is no offer/answer exchange in progress. This is also the initial state, in which case the local and remote descriptions are empty. -
HAVE_LOCAL_OFFER
A local description, of type "offer", has been successfully applied. -
HAVE_LOCAL_PR_ANSWER
A remote description of type "offer" has been successfully applied and a local description of type "pranswer" has been successfully applied. -
HAVE_REMOTE_OFFER
A remote description, of type "offer", has been successfully applied. -
HAVE_REMOTE_PR_ANSWER
A local description of type "offer" has been successfully applied and a remote description of type "pranswer" has been successfully applied. -
CLOSED
The RTCPeerConnection has been 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
-