public enum IceTransportPolicy extends java.lang.Enum<IceTransportPolicy>
Enum Constant and Description |
---|
ALL
All transports will be used.
|
RELAY
Only TURN relay transports will be used.
|
Modifier and Type | Method and Description |
---|---|
static IceTransportPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IceTransportPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IceTransportPolicy RELAY
public static final IceTransportPolicy ALL
public static IceTransportPolicy[] values()
for (IceTransportPolicy c : IceTransportPolicy.values()) System.out.println(c);
public static IceTransportPolicy 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