-
public interface AppDNAPaywallDelegate13 paywall lifecycle methods incl. purchase, restore lifecycle (started/completed/failed), post-purchase deep-link/next-step.
-
-
Method Summary
Modifier and Type Method Description UnitonPaywallPresented(String paywallId)UnitonPaywallAction(String paywallId, String action)UnitonPaywallPurchaseStarted(String paywallId, String productId)UnitonPaywallPurchaseCompleted(String paywallId, String productId, Map<String, Object> transaction)UnitonPaywallPurchaseFailed(String paywallId, Throwable error)error type: Swift Error / Kotlin Throwable / Dart Object / TS unknown. UnitonPaywallRestoreStarted(String paywallId)UnitonPaywallRestoreCompleted(String paywallId, List<String> restoredProductIds)UnitonPaywallRestoreFailed(String paywallId, Throwable error)UnitonPaywallDismissed(String paywallId)-
-
Method Detail
-
onPaywallPresented
Unit onPaywallPresented(String paywallId)
-
onPaywallAction
Unit onPaywallAction(String paywallId, String action)
-
onPaywallPurchaseStarted
Unit onPaywallPurchaseStarted(String paywallId, String productId)
-
onPaywallPurchaseCompleted
Unit onPaywallPurchaseCompleted(String paywallId, String productId, Map<String, Object> transaction)
-
onPaywallPurchaseFailed
Unit onPaywallPurchaseFailed(String paywallId, Throwable error)
error type: Swift Error / Kotlin Throwable / Dart Object / TS unknown.
-
onPaywallRestoreStarted
Unit onPaywallRestoreStarted(String paywallId)
-
onPaywallRestoreCompleted
Unit onPaywallRestoreCompleted(String paywallId, List<String> restoredProductIds)
-
onPaywallRestoreFailed
Unit onPaywallRestoreFailed(String paywallId, Throwable error)
-
onPaywallDismissed
Unit onPaywallDismissed(String paywallId)
-
-
-
-