Package-level declarations
Types
Link copied to clipboard
data class PaywallComponents(val view: PaywallView, val presenter: Activity?, val rulesOutcome: RuleEvaluationOutcome, val debugInfo: Map<String, Any>)
Functions
Link copied to clipboard
suspend fun Superwall.getPaywall(placement: String, params: Map<String, Any>? = null, paywallOverrides: PaywallOverrides? = null, delegate: PaywallViewCallback): Result<PaywallView>
Link copied to clipboard
suspend fun Superwall.getPaywallOrThrow(placement: String, params: Map<String, Any>? = null, paywallOverrides: PaywallOverrides? = null, delegate: PaywallViewCallback): PaywallView
Link copied to clipboard
fun Superwall.getPaywallSync(request: PresentationRequest, onStateChanged: (PaywallState) -> Unit = {}): Either<PaywallView, Throwable>
Gets a paywall to present synchronously, providing updates on the lifecycle of the paywall through a callback. Warning: This blocks the calling thread until the paywall is returned.