AdaptyUI
object AdaptyUI
Types
Link copied to clipboard
Link copied to clipboard
class FlowConfiguration
Link copied to clipboard
class MediaCacheConfiguration
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun getFlowConfiguration(flow: AdaptyFlow, locale: String? = null, loadTimeout: TimeInterval = DEFAULT_PLACEMENT_TIMEOUT, callback: ResultCallback<AdaptyUI.FlowConfiguration>)
If you are using the Flow Builder, you can use this method to get a configuration object for your flow.
Link copied to clipboard
fun getFlowView(activity: Activity, flowConfiguration: AdaptyUI.FlowConfiguration, products: List<AdaptyPaywallProduct>?, eventListener: AdaptyFlowEventListener, insets: AdaptyFlowInsets = AdaptyFlowInsets.Unspecified, customAssets: AdaptyCustomAssets = AdaptyCustomAssets.Empty, tagResolver: AdaptyUiTagResolver = AdaptyUiTagResolver.Default, timerResolver: AdaptyUiTimerResolver = AdaptyUiTimerResolver.Default, observerModeHandler: AdaptyUiObserverModeHandler? = null): AdaptyFlowView
Right after receiving FlowConfiguration, you can create the corresponding AdaptyFlowView to display it afterwards.
Link copied to clipboard
fun getOnboardingConfiguration(onboarding: AdaptyOnboarding, externalUrlsPresentation: AdaptyWebPresentation = AdaptyWebPresentation.InAppBrowser): AdaptyOnboardingConfiguration
Link copied to clipboard
fun getOnboardingView(activity: Activity, viewConfig: AdaptyOnboardingConfiguration, eventListener: AdaptyOnboardingEventListener, safeAreaPaddings: Boolean = true): AdaptyOnboardingView