public static enum ConnectivityStateManager.State extends java.lang.Enum<ConnectivityStateManager.State>
Enum Constant and Description |
---|
BLOCKED |
CONNECTING |
DELETED |
LOCAL |
NOT_PERMITTED |
OFFLINE |
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