PaywallOptions

Options for the Paywall.

Types

Link copied to clipboard
class Builder(var dismissRequest: () -> Unit)

Use this builder to create an instance of PaywallOptions.

Properties

Link copied to clipboard
val dismissRequest: () -> Unit

Dismiss the paywall, i.e. remove the view, navigate to another screen, etc. Will be called when the close button is pressed (if enabled) or when a purchase succeeds.

Link copied to clipboard

Optional listener, called for various purchase and restore events.

Link copied to clipboard
val offering: <Error class: unknown class>?

Optional Offering object obtained through getOfferings().

Link copied to clipboard

Whether to display a close button on the paywall screen. Only available when using Paywall. Ignored when using PaywallFooter. Defaults to false.

Functions

Link copied to clipboard
open override fun toString(): String