Package apple.network.enums
Class nw_browser_state_t
- java.lang.Object
-
- apple.network.enums.nw_browser_state_t
-
public final class nw_browser_state_t extends java.lang.Object[@typedef] nw_browser_state_t Browser states sent by nw_browser_set_state_changed_handler.
-
-
Field Summary
Fields Modifier and Type Field Description static intnw_browser_state_cancelled[@const] nw_browser_state_cancelled The browser has been cancelled by the caller.static intnw_browser_state_failed[@const] nw_browser_state_failed The browser has irrecoverably failed.static intnw_browser_state_invalid[@const] nw_browser_state_invalid The state of the browser is not valid.static intnw_browser_state_ready[@const] nw_browser_state_ready The browser is ready and able to receive endpoint updates.static intnw_browser_state_waiting[@const] nw_browser_state_waiting The browser is waiting for connectivity.
-
-
-
Field Detail
-
nw_browser_state_invalid
public static final int nw_browser_state_invalid
[@const] nw_browser_state_invalid The state of the browser is not valid. This state will never be delivered in the browser's state update handler and can be treated as an unexpected value.- See Also:
- Constant Field Values
-
nw_browser_state_ready
public static final int nw_browser_state_ready
[@const] nw_browser_state_ready The browser is ready and able to receive endpoint updates. All callbacks from the browse_results_changed_handler occur when the browser is in this state.- See Also:
- Constant Field Values
-
nw_browser_state_failed
public static final int nw_browser_state_failed
[@const] nw_browser_state_failed The browser has irrecoverably failed. You should not try to call nw_browser_start() on the browser to restart it. Instead, cancel the browser and create a new browser object.- See Also:
- Constant Field Values
-
nw_browser_state_cancelled
public static final int nw_browser_state_cancelled
[@const] nw_browser_state_cancelled The browser has been cancelled by the caller. You should not try to call nw_browser_start() on the browser to restart it. Instead, create a new browser object.- See Also:
- Constant Field Values
-
nw_browser_state_waiting
public static final int nw_browser_state_waiting
[@const] nw_browser_state_waiting The browser is waiting for connectivity. Results will not be delivered until the browser moves into the ready state. A browser can move from the ready state into the waiting state. The associated error indicates why the browser is unable to browse.- See Also:
- Constant Field Values
-
-