public static enum ConnectStateManage.STATE extends java.lang.Enum<ConnectStateManage.STATE>
Enum Constant and Description |
---|
STATE_BT |
STATE_BT_FINDING |
STATE_BT_NOT_FOUND |
STATE_DONE |
STATE_NONE |
STATE_P2P |
STATE_P2P_NOT_FOUND |
STATE_START |
Modifier and Type | Method and Description |
---|---|
static ConnectStateManage.STATE |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConnectStateManage.STATE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectStateManage.STATE STATE_NONE
public static final ConnectStateManage.STATE STATE_START
public static final ConnectStateManage.STATE STATE_BT
public static final ConnectStateManage.STATE STATE_BT_FINDING
public static final ConnectStateManage.STATE STATE_BT_NOT_FOUND
public static final ConnectStateManage.STATE STATE_P2P
public static final ConnectStateManage.STATE STATE_P2P_NOT_FOUND
public static final ConnectStateManage.STATE STATE_DONE
public static ConnectStateManage.STATE[] values()
for (ConnectStateManage.STATE c : ConnectStateManage.STATE.values()) System.out.println(c);
public static ConnectStateManage.STATE 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