Builder

class Builder

Builder for creating PaywallActivityLaunchOptions.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
Link copied to clipboard

Sets custom variables to be used in paywall text. These values will replace {{ custom.key }} or {{ $custom.key }} placeholders in the paywall configuration.

Link copied to clipboard

Sets whether to display the paywall in edge-to-edge mode. Default is true for Android 15+, false otherwise.

Link copied to clipboard

Sets the font provider to be used in the paywall. Only available for original template paywalls. Ignored for V2 Paywalls.

Link copied to clipboard

Sets a listener to receive paywall events such as purchase completion, restoration, and errors.

Link copied to clipboard

Sets the offering to be shown in the paywall. If not set, the current offering will be shown.

Link copied to clipboard

Internal method for hybrid SDKs to set offering by identifier and context. This is mutually exclusive with setOffering.

Link copied to clipboard

Sets custom purchase logic to handle purchases directly by the application rather than by RevenueCat.

Link copied to clipboard

Sets whether to display the dismiss button in the paywall. Only available for original template paywalls. Ignored for V2 Paywalls. Default is true.