public static enum JingleS5BTransportCandidate.Type extends Enum<JingleS5BTransportCandidate.Type>
Modifier and Type | Method and Description |
---|---|
static JingleS5BTransportCandidate.Type |
fromString(String name) |
int |
getWeight() |
static JingleS5BTransportCandidate.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JingleS5BTransportCandidate.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JingleS5BTransportCandidate.Type assisted
public static final JingleS5BTransportCandidate.Type direct
public static final JingleS5BTransportCandidate.Type proxy
public static final JingleS5BTransportCandidate.Type tunnel
public static JingleS5BTransportCandidate.Type[] values()
for (JingleS5BTransportCandidate.Type c : JingleS5BTransportCandidate.Type.values()) System.out.println(c);
public static JingleS5BTransportCandidate.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getWeight()
public static JingleS5BTransportCandidate.Type fromString(String name)