PaywallViewState

data class PaywallViewState(val paywall: Paywall, val locale: String, val request: PresentationRequest? = null, val presentationStyle: PaywallPresentationStyle = paywall.presentation.style, val paywallStatePublisher: MutableSharedFlow<PaywallState>? = null, val paywallResult: PaywallResult? = null, val dismissCompletionBlock: () -> Unit? = null, val callbackInvoked: Boolean = false, val viewCreatedCompletion: (Boolean) -> Unit? = null, val isBrowserViewPresented: Boolean = false, val interceptTouchEvents: Boolean = false, val surveyPresentationResult: SurveyPresentationResult = SurveyPresentationResult.NOSHOW, val loadingState: PaywallLoadingState = PaywallLoadingState.Unknown, val isPresented: Boolean = false, val presentationWillPrepare: Boolean = true, val presentationDidFinishPrepare: Boolean = false, val didDisableSwipeForSurvey: Boolean = false, val unsavedOccurrence: TriggerRuleOccurrence? = null, val useMultipleUrls: Boolean = false, val crashRetries: Int = 0, val lastOpen: Date? = null)(source)

Constructors

Link copied to clipboard
constructor(paywall: Paywall, locale: String, request: PresentationRequest? = null, presentationStyle: PaywallPresentationStyle = paywall.presentation.style, paywallStatePublisher: MutableSharedFlow<PaywallState>? = null, paywallResult: PaywallResult? = null, dismissCompletionBlock: () -> Unit? = null, callbackInvoked: Boolean = false, viewCreatedCompletion: (Boolean) -> Unit? = null, isBrowserViewPresented: Boolean = false, interceptTouchEvents: Boolean = false, surveyPresentationResult: SurveyPresentationResult = SurveyPresentationResult.NOSHOW, loadingState: PaywallLoadingState = PaywallLoadingState.Unknown, isPresented: Boolean = false, presentationWillPrepare: Boolean = true, presentationDidFinishPrepare: Boolean = false, didDisableSwipeForSurvey: Boolean = false, unsavedOccurrence: TriggerRuleOccurrence? = null, useMultipleUrls: Boolean = false, crashRetries: Int = 0, lastOpen: Date? = null)

Types

Link copied to clipboard
sealed class Updates

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val paywallResult: PaywallResult?
Link copied to clipboard
val paywallStatePublisher: MutableSharedFlow<PaywallState>?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val request: PresentationRequest?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toString(): String