Package com.adapty.ui
Class AdaptyPaywallScreenKt
-
- All Implemented Interfaces:
public final class AdaptyPaywallScreenKt
-
-
Method Summary
Modifier and Type Method Description final static UnitAdaptyPaywallScreen(AdaptyUI.LocalizedViewConfiguration viewConfiguration, List<AdaptyPaywallProduct> products, AdaptyUiEventListener eventListener, AdaptyPaywallInsets insets, AdaptyUiPersonalizedOfferResolver personalizedOfferResolver, AdaptyCustomAssets customAssets, AdaptyUiTagResolver tagResolver, AdaptyUiTimerResolver timerResolver, AdaptyUiObserverModeHandler observerModeHandler)Paywall screen composable representation -
-
Method Detail
-
AdaptyPaywallScreen
@Composable() final static Unit AdaptyPaywallScreen(AdaptyUI.LocalizedViewConfiguration viewConfiguration, List<AdaptyPaywallProduct> products, AdaptyUiEventListener eventListener, AdaptyPaywallInsets insets, AdaptyUiPersonalizedOfferResolver personalizedOfferResolver, AdaptyCustomAssets customAssets, AdaptyUiTagResolver tagResolver, AdaptyUiTimerResolver timerResolver, AdaptyUiObserverModeHandler observerModeHandler)
Paywall screen composable representation
- Parameters:
viewConfiguration- An AdaptyUI.LocalizedViewConfiguration object containing information about the visual part of the paywall.products- Optional AdaptyPaywallProduct list.eventListener- An object that implements the AdaptyUiEventListener interface.insets- You can override the default window inset handling by specifying the AdaptyPaywallInsets.personalizedOfferResolver- In case you want to indicate whether the price is personalized (read more), you can implement AdaptyUiPersonalizedOfferResolver and pass your own logic that maps AdaptyPaywallProduct totrue, if the price of the product is personalized, otherwisefalse.customAssets- If you are going to use custom assets functionality, pass AdaptyCustomAssets here.tagResolver- If you are going to use custom tags functionality, pass the resolver function here.timerResolver- If you are going to use custom timer functionality, pass the resolver function here.observerModeHandler- If you use Adapty in Observer mode, pass the AdaptyUiObserverModeHandler implementation to handle purchases on your own.
-
-
-
-