public static enum LinphoneCore.TunnelMode extends Enum<LinphoneCore.TunnelMode>
Modifier and Type | Method and Description |
---|---|
static int |
enumToInt(LinphoneCore.TunnelMode enum_mode) |
static LinphoneCore.TunnelMode |
intToEnum(int value) |
static LinphoneCore.TunnelMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LinphoneCore.TunnelMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LinphoneCore.TunnelMode disable
public static final LinphoneCore.TunnelMode enable
public static final LinphoneCore.TunnelMode auto
public static LinphoneCore.TunnelMode[] values()
for (LinphoneCore.TunnelMode c : LinphoneCore.TunnelMode.values()) System.out.println(c);
public static LinphoneCore.TunnelMode 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 static int enumToInt(LinphoneCore.TunnelMode enum_mode)
public static LinphoneCore.TunnelMode intToEnum(int value)