LaunchCampaignError enum

Inheritance

Constructors

LaunchCampaignError()
const

Values

SDK_NOT_INITIALIZED → const LaunchCampaignError

SDK must be initialized via Nami.configure before launching a campaign

DEFAULT_CAMPAIGN_NOT_FOUND → const LaunchCampaignError

No live default campaign could be launched.

LABELED_CAMPAIGN_NOT_FOUND → const LaunchCampaignError

No live campaign could be launched for the requested label.

PAYWALL_ALREADY_DISPLAYED → const LaunchCampaignError

Cannot launch a campaign, because a paywall is currently on screen

CAMPAIGN_DATA_NOT_FOUND → const LaunchCampaignError

No campaign found

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<LaunchCampaignError>
A constant List of the values in this enum, in order of their declaration.