Configuration
@Serializable
Generic configuration for any paywall.
Constructors
Link copied to clipboard
constructor(packageIds: List<String>, defaultPackage: String? = null, images: PaywallData.Configuration.Images, imagesByTier: Map<String, PaywallData.Configuration.Images>? = null, colors: PaywallData.Configuration.ColorInformation, colorsByTier: Map<String, PaywallData.Configuration.ColorInformation>? = null, tiers: List<PaywallData.Configuration.Tier>? = null, blurredBackgroundImage: Boolean = false, displayRestorePurchases: Boolean = true, termsOfServiceURL: URL? = null, privacyURL: URL? = null)
constructor(packageIds: List<String> = emptyList(), defaultPackage: String? = null, imagesWebp: PaywallData.Configuration.Images? = null, legacyImages: PaywallData.Configuration.Images? = null, imagesByTier: Map<String, PaywallData.Configuration.Images>? = null, blurredBackgroundImage: Boolean = false, displayRestorePurchases: Boolean = true, termsOfServiceURL: URL? = null, privacyURL: URL? = null, colors: PaywallData.Configuration.ColorInformation, colorsByTier: Map<String, PaywallData.Configuration.ColorInformation>? = null, tiers: List<PaywallData.Configuration.Tier>? = null, defaultTier: String? = null)
Types
Link copied to clipboard
@Serializable
Link copied to clipboard
@Serializable
Properties
Link copied to clipboard
Whether the background image will be blurred (in templates with one).
Link copied to clipboard
The set of colors used for single-tier paywalls.
Link copied to clipboard
The set of colors used for multi-tier paywalls.
Link copied to clipboard
The package to be selected by default.
Link copied to clipboard
The tier to be selected by default.
Link copied to clipboard
Whether a restore purchases button should be displayed.
Link copied to clipboard
The images for this template.
Link copied to clipboard
Link copied to clipboard
The list of package identifiers this paywall will display.
Link copied to clipboard
If set, the paywall will display a privacy policy link.
Link copied to clipboard
If set, the paywall will display a terms of service link.
Link copied to clipboard
Tiers used for multi-tier paywalls.