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