public static enum ConnectivityStateManager.State extends java.lang.Enum<ConnectivityStateManager.State>
| Enum Constant and Description |
|---|
BLOCKED
CocoNet is blocked.
|
CONNECTING
Trying to connect to CocoNet.
|
DELETED
CocoNet is Left or Deleted.
|
LOCAL
CocoNet is in local mode.
|
NOT_PERMITTED
Connecting to the CocoNet is not permitted.
|
OFFLINE
CocoNet is offline.
|
ONLINE
CocoNet is online.
|
| Modifier and Type | Method and Description |
|---|---|
static ConnectivityStateManager.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConnectivityStateManager.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectivityStateManager.State DELETED
public static final ConnectivityStateManager.State OFFLINE
public static final ConnectivityStateManager.State LOCAL
public static final ConnectivityStateManager.State CONNECTING
public static final ConnectivityStateManager.State ONLINE
public static final ConnectivityStateManager.State BLOCKED
public static final ConnectivityStateManager.State NOT_PERMITTED
public static ConnectivityStateManager.State[] values()
for (ConnectivityStateManager.State c : ConnectivityStateManager.State.values()) System.out.println(c);
public static ConnectivityStateManager.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