Table of Contents

Enum AppConnectionState

Namespace
VpnHood.AppLib.Api.App
Assembly
VpnHood.AppLib.Api.dll

Specifies where the VPN's connection stands, as the app shows it.

[JsonConverter(typeof(JsonStringEnumConverter<AppConnectionState>))]
public enum AppConnectionState

Fields

None = 0

Idle: no connection, or a disconnect that finishes in the background.

Initializing = 1

The connect gets ready: the client starts, or the split by country or by app prepares its data.

WaitingForVpnPermission = 2

The system asks the person to allow the VPN, on the device's own screen, as Android does at a first connect.

Waiting = 3

The client waits before it goes on.

WaitingForAd = 4

The connect waits for the ad its plan needs.

Diagnosing = 5

The diagnose checks the network and the server.

ValidatingProxies = 6

The client checks the proxies.

FindingReachableServer = 7

The client has looked for a server it can reach for more than a moment.

FindingBestServer = 8

The client has looked for the best server for more than a moment.

Connecting = 9

The VPN is connecting.

Connected = 10

The VPN is connected.

Unstable = 11

The VPN is connected, but its connection is not stable.

Disconnecting = 12

The VPN is disconnecting.

Updating = 13

The app installs its update, which stops it in a moment: no connect until it has.