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