PreparePaywallError enum

Inheritance
Available extensions

Values

SDK_NOT_INITIALIZED → const PreparePaywallError

SDK must be initialized via Nami.configure before preparing paywall for display

DEVELOPER_PAYWALL_ID_NOT_FOUND → const PreparePaywallError

Developer paywall id provided via NamiPaywallManager.preparePaywallForDisplay must be valid and associated with a paywall

PAYWALL_ALREADY_DISPLAYED → const PreparePaywallError

In case of Nami type paywall, if paywall is already being displayed on screen then prepare results in error

IMAGE_LOAD_FAILED → const PreparePaywallError

Image loading failed. You may try calling prepare again depending on your application requirements

DATA_NOT_AVAILABLE → const PreparePaywallError

Crucial data is not available, or not yet available which is required to display and populate paywall on screen. Paywall cannot be shown without required data. You may try calling prepare again

NO_LIVE_CAMPAIGN → const PreparePaywallError

A paywall must be attached to a live campaign when requested via NamiPaywallManager.preparePaywallForDisplay without developerPaywallId

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<PreparePaywallError>
A constant List of the values in this enum, in order of their declaration.