PresentationState enum

The lifecycle phase of a presentation.

A synchronous peek for logs and debugging only — control flow must use CampaignPresentation.outcome, never a poll of this.

Inheritance
Available extensions

Values

pending → const PresentationState

Delivered; core has not yet confirmed the experience is on screen.

const PresentationState('pending')
displaying → const PresentationState

The experience is visible to the user.

const PresentationState('displaying')
settled → const PresentationState

Terminal. The outcome has settled and no further signals will arrive.

const PresentationState('settled')

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → String
The pinned string form. Shared character-for-character with the Kotlin and Swift cores — see DropReason.value.
final

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