public static enum NetworkInfo.DetailedState extends Enum<NetworkInfo.DetailedState>
| Enum Constant and Description |
|---|
AUTHENTICATING |
BLOCKED |
CONNECTED |
CONNECTING |
DISCONNECTED |
DISCONNECTING |
FAILED |
IDLE |
OBTAINING_IPADDR |
SCANNING |
SUSPENDED |
VERIFYING_POOR_LINK |
| Modifier and Type | Method and Description |
|---|---|
static NetworkInfo.DetailedState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NetworkInfo.DetailedState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NetworkInfo.DetailedState AUTHENTICATING
public static final NetworkInfo.DetailedState BLOCKED
public static final NetworkInfo.DetailedState CONNECTED
public static final NetworkInfo.DetailedState CONNECTING
public static final NetworkInfo.DetailedState DISCONNECTED
public static final NetworkInfo.DetailedState DISCONNECTING
public static final NetworkInfo.DetailedState FAILED
public static final NetworkInfo.DetailedState IDLE
public static final NetworkInfo.DetailedState OBTAINING_IPADDR
public static final NetworkInfo.DetailedState SCANNING
public static final NetworkInfo.DetailedState SUSPENDED
public static final NetworkInfo.DetailedState VERIFYING_POOR_LINK
public static NetworkInfo.DetailedState[] values()
for (NetworkInfo.DetailedState c : NetworkInfo.DetailedState.values()) System.out.println(c);
public static NetworkInfo.DetailedState valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullCopyright © 2008-2013. All Rights Reserved.