Package 

Class PaywallOptions.Builder

    • Constructor Detail

      • PaywallOptions.Builder

        PaywallOptions.Builder(Function0<Unit> dismissRequest)
    • Method Detail

      • setOffering

         final <ERROR CLASS> setOffering(Offering offering)
      • setShouldDisplayDismissButton

         final <ERROR CLASS> setShouldDisplayDismissButton(Boolean shouldDisplayDismissButton)

        Sets whether to display a close button on the paywall screen. Only available when using Paywall and original template paywalls. Ignored when using OriginalTemplatePaywallFooter or using v2 Paywalls. Defaults to false.

      • setFontProvider

         final <ERROR CLASS> setFontProvider(FontProvider fontProvider)

        Sets a font provider to provide the paywall with your custom fonts. Only available for original template paywalls. Ignored for v2 Paywalls.