java.lang.Object | ||
↳ | java.lang.Enum <E extends java.lang.Enum <E>> | |
↳ | android.net.NetworkInfo.State |
Coarse-grained network state. This is probably what most applications should
use, rather than
DetailedState
.
The mapping between the two is as follows:
Detailed state | Coarse-grained state |
IDLE
|
DISCONNECTED
|
SCANNING
|
CONNECTING
|
CONNECTING
|
CONNECTING
|
AUTHENTICATING
|
CONNECTING
|
CONNECTED
|
CONNECTED
|
DISCONNECTING
|
DISCONNECTING
|
DISCONNECTED
|
DISCONNECTED
|
UNAVAILABLE
|
DISCONNECTED
|
FAILED
|
DISCONNECTED
|
Enum Values | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
NetworkInfo.State | CONNECTED | ||||||||||
NetworkInfo.State | CONNECTING | ||||||||||
NetworkInfo.State | DISCONNECTED | ||||||||||
NetworkInfo.State | DISCONNECTING | ||||||||||
NetworkInfo.State | SUSPENDED | ||||||||||
NetworkInfo.State | UNKNOWN |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
|
||||||||||
|
|
[Expand]
Inherited Methods
|
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
|
|||||||||||
From class
java.lang.Object
|
|||||||||||
From interface
java.lang.Comparable
|