AdaptyPaywallScreen
Paywall screen composable representation
Parameters
An AdaptyUI.LocalizedViewConfiguration object containing information about the visual part of the paywall. To load it, use the AdaptyUI.getViewConfiguration method.
Optional AdaptyPaywallProduct list. Pass this value in order to optimize the display time of the products on the screen. If you pass null
, AdaptyUI
will automatically fetch the required products.
An object that implements the AdaptyUiEventListener interface. Use it to respond to different events happening inside the purchase screen. Also you can extend AdaptyUiDefaultEventListener so you don't need to override all the methods.
You can override the default window inset handling by specifying the AdaptyPaywallInsets.
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 to true
, if the price of the product is personalized, otherwise false
.
If you are going to use custom tags functionality, pass the resolver function here.
If you are going to use custom timer functionality, pass the resolver function here.
If you use Adapty in Observer mode, pass the AdaptyUiObserverModeHandler implementation to handle purchases on your own.