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