public static enum PeerConnection.TcpCandidatePolicy extends java.lang.Enum<PeerConnection.TcpCandidatePolicy>
Modifier and Type | Method and Description |
---|---|
static PeerConnection.TcpCandidatePolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PeerConnection.TcpCandidatePolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PeerConnection.TcpCandidatePolicy ENABLED
public static final PeerConnection.TcpCandidatePolicy DISABLED
public static PeerConnection.TcpCandidatePolicy[] values()
for (PeerConnection.TcpCandidatePolicy c : PeerConnection.TcpCandidatePolicy.values()) System.out.println(c);
public static PeerConnection.TcpCandidatePolicy 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.4.1