public enum IceTransportPolicy extends 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(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(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 null5.3.0