State of the VPN.
- Since
- 5.6
|
| State (int state, boolean stable, boolean loggedIn) |
|
boolean | stable () |
| Differentiates stable vs transitional states. More...
|
|
boolean | loggedIn () |
| Are we logged in (authenticated) More...
|
|
int | state () |
| the number representing this state More...
|
|
|
| LOGGED_OUT =(0,true, false) |
| Completely disconnected and unathenticated. More...
|
|
| LOGGING_IN =(1,false, false) |
| Transitional state as we log in. More...
|
|
| LOGGED_IN =(2,true, true) |
| Fully authenticated, but not using a speed server. More...
|
|
| AUTO_CONNECTING =(3,false, true) |
| Transitional state as system automatically connects us to speed server. More...
|
|
| CONNECTING =(4,false, true) |
| Transitional state as we connect to speed server. More...
|
|
| DISCONNECTING =(5,false, true) |
| Transitional state as we disconnect from speed server. More...
|
|
| CONNECTED =(6,true, true) |
| Really connected to a speed server. More...
|
|
| OVERLIMIT =(7,true, true) |
| All available adapters are overlimit, VPN still in connected state. More...
|
|
| UNKNOWN =(-1,true, false) |
| Unable to connect to the local Speedify daemon. More...
|
|
◆ State()
com.speedify.speedifysdk.Types.State.State |
( |
int |
state, |
|
|
boolean |
stable, |
|
|
boolean |
loggedIn |
|
) |
| |
◆ findState()
static State com.speedify.speedifysdk.Types.State.findState |
( |
int |
statenum | ) |
|
|
static |
Get a State based on its state number.
- Parameters
-
statenum | integer value of state |
- Returns
- State enum
- Since
- 5.6
◆ loggedIn()
boolean com.speedify.speedifysdk.Types.State.loggedIn |
( |
| ) |
|
Are we logged in (authenticated)
- Returns
- true if this is a state where the user is logged in
- Since
- 5.6
◆ stable()
boolean com.speedify.speedifysdk.Types.State.stable |
( |
| ) |
|
Differentiates stable vs transitional states.
- Returns
- false if this is transitional state (CONNECTING, DISCONNECTING, LOGGING_IN, AUTOCONNECTING)
- Since
- 5.6
◆ state()
int com.speedify.speedifysdk.Types.State.state |
( |
| ) |
|
the number representing this state
- Returns
- integer value of state
- Since
- 5.6
◆ AUTO_CONNECTING
com.speedify.speedifysdk.Types.State.AUTO_CONNECTING =(3,false, true) |
Transitional state as system automatically connects us to speed server.
- Since
- 5.6
◆ CONNECTED
com.speedify.speedifysdk.Types.State.CONNECTED =(6,true, true) |
Really connected to a speed server.
- Since
- 5.6
◆ CONNECTING
com.speedify.speedifysdk.Types.State.CONNECTING =(4,false, true) |
Transitional state as we connect to speed server.
- Since
- 5.6
◆ DISCONNECTING
com.speedify.speedifysdk.Types.State.DISCONNECTING =(5,false, true) |
Transitional state as we disconnect from speed server.
- Since
- 5.6
◆ LOGGED_IN
com.speedify.speedifysdk.Types.State.LOGGED_IN =(2,true, true) |
Fully authenticated, but not using a speed server.
Ready to connect()
- Since
- 5.6
◆ LOGGED_OUT
com.speedify.speedifysdk.Types.State.LOGGED_OUT =(0,true, false) |
Completely disconnected and unathenticated.
Need to login() to do anything
- Since
- 5.6
◆ LOGGING_IN
com.speedify.speedifysdk.Types.State.LOGGING_IN =(1,false, false) |
Transitional state as we log in.
- Since
- 5.6
◆ OVERLIMIT
com.speedify.speedifysdk.Types.State.OVERLIMIT =(7,true, true) |
All available adapters are overlimit, VPN still in connected state.
- Since
- 5.6
◆ UNKNOWN
com.speedify.speedifysdk.Types.State.UNKNOWN =(-1,true, false) |
Unable to connect to the local Speedify daemon.
- Since
- 5.6
The documentation for this enum was generated from the following file: