Class GlassfyPaywall

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      GlassfyPaywall()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static PaywallFragment fragment(Context context, Paywall paywall) Returns a fragment representing the paywall.
      final static Unit fragment(Context context, String remoteConfigurationId, Boolean awaitLoading, PaywallUICallback callback) Returns a fragment representing the paywall.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GlassfyPaywall

        GlassfyPaywall()
    • Method Detail

      • fragment

         final static PaywallFragment fragment(Context context, Paywall paywall)

        Returns a fragment representing the paywall.

        Parameters:
        paywall - Paywall object obtained via Glassfy.paywall
      • fragment

         final static Unit fragment(Context context, String remoteConfigurationId, Boolean awaitLoading, PaywallUICallback callback)

        Returns a fragment representing the paywall.

        Parameters:
        remoteConfigurationId - Remote configuration identifier
        awaitLoading - Default false, if true, the callback is executed after the paywall content has been fetched.