public static enum PeerConnection.IceConnectionState extends java.lang.Enum<PeerConnection.IceConnectionState>
Enum Constant and Description |
---|
CHECKING |
CLOSED |
COMPLETED |
CONNECTED |
DISCONNECTED |
FAILED |
NEW |
Modifier and Type | Method and Description |
---|---|
static PeerConnection.IceConnectionState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PeerConnection.IceConnectionState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PeerConnection.IceConnectionState NEW
public static final PeerConnection.IceConnectionState CHECKING
public static final PeerConnection.IceConnectionState CONNECTED
public static final PeerConnection.IceConnectionState COMPLETED
public static final PeerConnection.IceConnectionState FAILED
public static final PeerConnection.IceConnectionState DISCONNECTED
public static final PeerConnection.IceConnectionState CLOSED
public static PeerConnection.IceConnectionState[] values()
for (PeerConnection.IceConnectionState c : PeerConnection.IceConnectionState.values()) System.out.println(c);
public static PeerConnection.IceConnectionState 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 null7.0.0