InternalTriggerResult

The result of a paywall trigger. NoAudienceMatch is an associated sealed class.

Triggers can conditionally show paywalls. Contains the possible cases resulting from the trigger.

Inheritors

Types

Link copied to clipboard
data class Error(val error: Exception) : InternalTriggerResult

An error occurred and the user will not be shown a paywall.

Link copied to clipboard
data class Holdout(val experiment: Experiment) : InternalTriggerResult

A matching rule was found and this user was assigned to a holdout group so will not be shown a paywall.

Link copied to clipboard
data class NoAudienceMatch(val unmatchedRules: List<UnmatchedRule>) : InternalTriggerResult

No matching audience was found for this trigger so no paywall will be shown.

Link copied to clipboard
data class Paywall(val experiment: Experiment) : InternalTriggerResult

A matching audience was found and this user will be shown a paywall.

Link copied to clipboard

This placement was not found on the dashboard.

Functions

Link copied to clipboard