Table of Contents

Enum AdRequirement

Namespace
VpnHood.Core.Common.Messaging
Assembly
VpnHood.Core.Common.dll

Specifies the ad a session requires before it carries traffic.

[JsonConverter(typeof(JsonStringEnumFallbackConverter<AdRequirement>))]
[JsonEnumFallback(AdRequirement.None)]
public enum AdRequirement

Fields

None = 0

No ad.

Flexible = 1

An ad if the app can show one; a failure to show it does not end the session.

Rewarded = 2

A rewarded ad, which the user must watch to the end.

Remarks

In JSON it is a name; a name this version does not know reads as None, so the client shows no ad, and a server that needs one ends the session.