public final class nw_connection_state_t
extends java.lang.Object
Connection states sent by nw_connection_set_state_changed_handler. States generally progress forward and do not move backwards, with the exception of preparing and waiting, which may alternate before the connection becomes ready or failed.
| Modifier and Type | Field and Description |
|---|---|
static int |
nw_connection_state_cancelled
[@const] nw_connection_state_cancelled The connection has been cancelled by the caller
|
static int |
nw_connection_state_failed
[@const] nw_connection_state_failed The connection has irrecoverably closed or failed
|
static int |
nw_connection_state_invalid
[@const] nw_connection_state_invalid The state of the connection is not valid.
|
static int |
nw_connection_state_preparing
[@const] nw_connection_state_preparing The connection is in the process of establishing
|
static int |
nw_connection_state_ready
[@const] nw_connection_state_ready The connection is established and ready to send and receive data upon
|
static int |
nw_connection_state_waiting
[@const] nw_connection_state_waiting The connection is waiting for a usable network before re-attempting
|
public static final int nw_connection_state_invalid
public static final int nw_connection_state_waiting
public static final int nw_connection_state_preparing
public static final int nw_connection_state_ready
public static final int nw_connection_state_failed
public static final int nw_connection_state_cancelled