public static enum ConnectManager.STATUS extends java.lang.Enum<ConnectManager.STATUS>
Enum Constant and Description |
---|
P2P_DISABLED |
P2P_ENABLED |
P2P_FIND_BT |
Modifier and Type | Method and Description |
---|---|
static ConnectManager.STATUS |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConnectManager.STATUS[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectManager.STATUS P2P_ENABLED
public static final ConnectManager.STATUS P2P_DISABLED
public static final ConnectManager.STATUS P2P_FIND_BT
public static ConnectManager.STATUS[] values()
for (ConnectManager.STATUS c : ConnectManager.STATUS.values()) System.out.println(c);
public static ConnectManager.STATUS 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 null