DetailedState
classDetailedState
| kotlin.Any | ||
| ↳ | kotlin.Enum<android.net.NetworkInfo.DetailedState> | |
| ↳ | android.net.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.
Summary
Enum values |
|
|---|---|
|
Network link established, performing authentication. |
|
|
Access to this network is blocked. |
|
|
Checking if network is a captive portal |
|
|
IP traffic should be available. |
|
|
Currently setting up data connection. |
|
|
IP traffic not available. |
|
|
Currently tearing down data connection. |
|
|
Attempt to connect failed. |
|
|
Ready to start data connection setup. |
|
|
Awaiting response from DHCP server in order to assign IP address information. |
|
|
Searching for an available access point. |
|
|
IP traffic is suspended |
|
|
Link has poor connectivity. |
|
Enum values
AUTHENTICATING
enum valAUTHENTICATING: NetworkInfo.DetailedState
Deprecated.
Network link established, performing authentication.
CAPTIVE_PORTAL_CHECK
enum valCAPTIVE_PORTAL_CHECK: NetworkInfo.DetailedState
Deprecated.
Checking if network is a captive portal
CONNECTED
enum valCONNECTED: NetworkInfo.DetailedState
Deprecated.
IP traffic should be available.
CONNECTING
enum valCONNECTING: NetworkInfo.DetailedState
Deprecated.
Currently setting up data connection.
DISCONNECTED
enum valDISCONNECTED: NetworkInfo.DetailedState
Deprecated.
IP traffic not available.
DISCONNECTING
enum valDISCONNECTING: NetworkInfo.DetailedState
Deprecated.
Currently tearing down data connection.
OBTAINING_IPADDR
enum valOBTAINING_IPADDR: NetworkInfo.DetailedState
Deprecated.
Awaiting response from DHCP server in order to assign IP address information.
SCANNING
enum valSCANNING: NetworkInfo.DetailedState
Deprecated.
Searching for an available access point.
VERIFYING_POOR_LINK
enum valVERIFYING_POOR_LINK: NetworkInfo.DetailedState
Deprecated.
Link has poor connectivity.