PaywallController

Holds the paywall's PaywallViewState in a StateActor. Every updateState is applied through the actor as a PaywallReducer, so state changes go through the same reducer pipeline (and interceptors) as the SDK's other actors.

Constructors

Link copied to clipboard
constructor(initialState: PaywallViewState)

Public signature kept for compatibility; the controller gets a scope of its own.

Properties

Link copied to clipboard
Link copied to clipboard
open override val state: PaywallViewState

Functions

Link copied to clipboard
open override fun updateState(update: PaywallViewState.Updates)