Package io.glassfy.paywall
Class GlassfyPaywall
-
- All Implemented Interfaces:
public final class GlassfyPaywall
-
-
Constructor Summary
Constructors Constructor Description GlassfyPaywall()
-
Method Summary
Modifier and Type Method Description final static PaywallFragmentfragment(Context context, Paywall paywall)Returns a fragment representing the paywall. final static Unitfragment(Context context, String remoteConfigurationId, Boolean awaitLoading, PaywallUICallback callback)Returns a fragment representing the paywall. -
-
Method Detail
-
fragment
final static PaywallFragment fragment(Context context, Paywall paywall)
Returns a fragment representing the paywall.
- Parameters:
paywall- Paywall object obtained viaGlassfy.paywall
-
fragment
final static Unit fragment(Context context, String remoteConfigurationId, Boolean awaitLoading, PaywallUICallback callback)
Returns a fragment representing the paywall.
- Parameters:
remoteConfigurationId- Remote configuration identifierawaitLoading- Default false, if true, the callback is executed after the paywall content has been fetched.
-
-
-
-