|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<NetworkInfo.DetailedState>
android.net.NetworkInfo.DetailedState
public static enum NetworkInfo.DetailedState
The fine-grained state of a network connection. This level of detail
is probably of interest to few applications. Most should use
State instead.
| Enum Constant Summary | |
|---|---|
AUTHENTICATING
Network link established, performing authentication. |
|
CONNECTED
IP traffic should be available. |
|
CONNECTING
Currently setting up data connection. |
|
DISCONNECTED
IP traffic not available. |
|
DISCONNECTING
Currently tearing down data connection. |
|
FAILED
Attempt to connect failed. |
|
IDLE
Ready to start data connection setup. |
|
OBTAINING_IPADDR
Awaiting response from DHCP server in order to assign IP address information. |
|
SCANNING
Searching for an available access point. |
|
SUSPENDED
IP traffic is suspended |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final NetworkInfo.DetailedState IDLE
public static final NetworkInfo.DetailedState SCANNING
public static final NetworkInfo.DetailedState CONNECTING
public static final NetworkInfo.DetailedState AUTHENTICATING
public static final NetworkInfo.DetailedState OBTAINING_IPADDR
public static final NetworkInfo.DetailedState CONNECTED
public static final NetworkInfo.DetailedState SUSPENDED
public static final NetworkInfo.DetailedState DISCONNECTING
public static final NetworkInfo.DetailedState DISCONNECTED
public static final NetworkInfo.DetailedState FAILED
| Method Detail |
|---|
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 name
NullPointerException - if the argument is null
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||