Package-level declarations
Functions
Link copied to clipboard
fun AdaptyUIOnboardingPlatformView(onboarding: AdaptyOnboarding, modifier: Modifier = Modifier, externalUrlsPresentation: AdaptyWebPresentation = AdaptyWebPresentation.IN_APP_BROWSER, onDidFinishLoading: (meta: AdaptyUIOnboardingMeta) -> Unit = {}, onDidFailWithError: (error: AdaptyError) -> Unit = {}, onCloseAction: (meta: AdaptyUIOnboardingMeta, actionId: String) -> Unit = { _, _ -> }, onPaywallAction: (meta: AdaptyUIOnboardingMeta, actionId: String) -> Unit = { _, _ -> }, onCustomAction: (meta: AdaptyUIOnboardingMeta, actionId: String) -> Unit = { _, _ -> }, onStateUpdatedAction: (meta: AdaptyUIOnboardingMeta, elementId: String, params: AdaptyOnboardingsStateUpdatedParams) -> Unit = { _, _, _ -> }, onAnalyticsEvent: (meta: AdaptyUIOnboardingMeta, event: AdaptyOnboardingsAnalyticsEvent) -> Unit = { _, _ -> })
Displays an embedded onboarding as a platform view in your Compose UI hierarchy.
Link copied to clipboard
fun AdaptyUIPaywallPlatformView(paywall: AdaptyPaywall, modifier: Modifier = Modifier, customTags: Map<String, String>? = null, customTimers: Map<String, LocalDateTime>? = null, customAssets: Map<String, AdaptyCustomAsset>? = null, productPurchaseParams: Map<AdaptyProductIdentifier, AdaptyPurchaseParameters>? = null, onDidAppear: (view: AdaptyUIPaywallView) -> Unit = {}, onDidDisappear: (view: AdaptyUIPaywallView) -> Unit = {}, onDidPerformAction: (view: AdaptyUIPaywallView, action: AdaptyUIAction) -> Unit = { _, _ -> }, onDidSelectProduct: (view: AdaptyUIPaywallView, productId: String) -> Unit = { _, _ -> }, onDidStartPurchase: (view: AdaptyUIPaywallView, product: AdaptyPaywallProduct) -> Unit = { _, _ -> }, onDidFinishPurchase: (view: AdaptyUIPaywallView, product: AdaptyPaywallProduct, result: AdaptyPurchaseResult) -> Unit = { _, _, _ -> }, onDidFailPurchase: (view: AdaptyUIPaywallView, product: AdaptyPaywallProduct, error: AdaptyError) -> Unit = { _, _, _ -> }, onDidStartRestore: (view: AdaptyUIPaywallView) -> Unit = {}, onDidFinishRestore: (view: AdaptyUIPaywallView, profile: AdaptyProfile) -> Unit = { _, _ -> }, onDidFailRestore: (view: AdaptyUIPaywallView, error: AdaptyError) -> Unit = { _, _ -> }, onDidFailRendering: (view: AdaptyUIPaywallView, error: AdaptyError) -> Unit = { _, _ -> }, onDidFailLoadingProducts: (view: AdaptyUIPaywallView, error: AdaptyError) -> Unit = { _, _ -> }, onDidFinishWebPaymentNavigation: (view: AdaptyUIPaywallView, product: AdaptyPaywallProduct?, error: AdaptyError?) -> Unit = { _, _, _ -> })