public static enum PeerConnection.SignalingState extends java.lang.Enum<PeerConnection.SignalingState>
Enum Constant and Description |
---|
CLOSED |
HAVE_LOCAL_OFFER |
HAVE_LOCAL_PRANSWER |
HAVE_REMOTE_OFFER |
HAVE_REMOTE_PRANSWER |
STABLE |
Modifier and Type | Method and Description |
---|---|
static PeerConnection.SignalingState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PeerConnection.SignalingState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PeerConnection.SignalingState STABLE
public static final PeerConnection.SignalingState HAVE_LOCAL_OFFER
public static final PeerConnection.SignalingState HAVE_LOCAL_PRANSWER
public static final PeerConnection.SignalingState HAVE_REMOTE_OFFER
public static final PeerConnection.SignalingState HAVE_REMOTE_PRANSWER
public static final PeerConnection.SignalingState CLOSED
public static PeerConnection.SignalingState[] values()
for (PeerConnection.SignalingState c : PeerConnection.SignalingState.values()) System.out.println(c);
public static PeerConnection.SignalingState valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null6.0.0