public static enum Constants.LocalProxyMode extends java.lang.Enum<Constants.LocalProxyMode>
| Enum Constant and Description |
|---|
ConnectivityFirst
0: Connect local proxy with high priority, if not connected to local proxy,
fallback to sdrtn.
|
LocalOnly
1: Only connect local proxy
|
| Modifier and Type | Field and Description |
|---|---|
private int |
value |
| Modifier and Type | Method and Description |
|---|---|
static Constants.LocalProxyMode |
fromInt(int value) |
int |
getValue() |
static Constants.LocalProxyMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Constants.LocalProxyMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.LocalProxyMode ConnectivityFirst
public static final Constants.LocalProxyMode LocalOnly
public static Constants.LocalProxyMode[] values()
for (Constants.LocalProxyMode c : Constants.LocalProxyMode.values()) System.out.println(c);
public static Constants.LocalProxyMode 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 nullpublic int getValue()
public static Constants.LocalProxyMode fromInt(int value)