AdaptyUI

object AdaptyUI

Types

Link copied to clipboard
sealed class Action
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
fun getOnboardingView(    activity: Activity,     viewConfig: AdaptyOnboardingConfiguration,     eventListener: AdaptyOnboardingEventListener,     safeAreaPaddings: Boolean = true): AdaptyOnboardingView
Link copied to clipboard
fun getPaywallView(    activity: Activity,     viewConfiguration: AdaptyUI.LocalizedViewConfiguration,     products: List<AdaptyPaywallProduct>?,     eventListener: AdaptyUiEventListener,     insets: AdaptyPaywallInsets = AdaptyPaywallInsets.UNSPECIFIED,     customAssets: AdaptyCustomAssets = AdaptyCustomAssets.Empty,     tagResolver: AdaptyUiTagResolver = AdaptyUiTagResolver.DEFAULT,     timerResolver: AdaptyUiTimerResolver = AdaptyUiTimerResolver.DEFAULT,     observerModeHandler: AdaptyUiObserverModeHandler? = null): AdaptyPaywallView

Right after receiving LocalizedViewConfiguration, you can create the corresponding AdaptyPaywallView to display it afterwards.

Link copied to clipboard
fun getViewConfiguration(    paywall: AdaptyPaywall,     loadTimeout: TimeInterval = DEFAULT_PAYWALL_TIMEOUT,     callback: ResultCallback<AdaptyUI.LocalizedViewConfiguration>)

If you are using the Paywall Builder, you can use this method to get a configuration object for your paywall.