public enum WebRTCIPHandlingPolicy extends java.lang.Enum<WebRTCIPHandlingPolicy>
Enum Constant and Description |
---|
DEFAULT |
DEFAULT_PUBLIC_AND_PRIVATE_INTERFACES |
DEFAULT_PUBLIC_INTERFACE_ONLY |
DISABLE_NON_PROXIED_UDP |
EMPTY |
Modifier and Type | Method and Description |
---|---|
static WebRTCIPHandlingPolicy |
valueOf(int value) |
static WebRTCIPHandlingPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
返回具有指定名称的此类型的枚举常量。 |
static WebRTCIPHandlingPolicy[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
以声明顺序返回包含此枚举类型的常量的数组。 |
public static final WebRTCIPHandlingPolicy EMPTY
public static final WebRTCIPHandlingPolicy DEFAULT
public static final WebRTCIPHandlingPolicy DEFAULT_PUBLIC_INTERFACE_ONLY
public static final WebRTCIPHandlingPolicy DEFAULT_PUBLIC_AND_PRIVATE_INTERFACES
public static final WebRTCIPHandlingPolicy DISABLE_NON_PROXIED_UDP
public static WebRTCIPHandlingPolicy[] values()
for (WebRTCIPHandlingPolicy c : WebRTCIPHandlingPolicy.values()) System.out.println(c);
public static WebRTCIPHandlingPolicy 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 name
java.lang.NullPointerException
- if the argument is null
public static WebRTCIPHandlingPolicy valueOf(int value)