Table of Contents

Enum ConnectPlanId

Namespace
VpnHood.Core.Common.Tokens
Assembly
VpnHood.Core.Common.dll

Specifies the plan a client asks for when it starts a session, which tells the server how the user is entitled to connect: free, after an ad, on trial, or premium.

[JsonConverter(typeof(JsonStringEnumFallbackConverter<ConnectPlanId>))]
[JsonEnumFallback(ConnectPlanId.Normal)]
public enum ConnectPlanId

Fields

Normal = 0

A standard free connection to a free (public) server, with no ad and no premium. This is the default plan.

NormalByRewardedAd = 1

A free connection unlocked by watching a rewarded ad. Behaves like Normal, but the user watches a rewarded ad first, usually in exchange for a longer free session. Offered only when the policy enables it and the app can show rewarded ads.

PremiumByTrial = 2

A temporary premium connection granted as a free trial — no payment and no ad.

PremiumByRewardedAd = 3

A temporary premium connection unlocked by watching a rewarded ad.

Status = 4

Not an actual connection plan: a request used to query or refresh the current session status.

Remarks

In JSON it is a name; a name this version does not know reads as Normal.