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