KoahPreviewFormat enum
Publisher-side preview formats. When supplied to Koah.requestPreviewAd, the server short-circuits the ad pipeline and returns a canned specimen for the requested format — useful for previewing every format/size combo during integration without seeding ads in the dashboard. Specimens are not impressions and do not record events.
Mirrors the server's previewFormat parameter accepted by
POST /ad_requests.
Values
- cardText → const KoahPreviewFormat
-
const KoahPreviewFormat('card_text') - cardImage → const KoahPreviewFormat
-
const KoahPreviewFormat('card_image') - poll → const KoahPreviewFormat
-
const KoahPreviewFormat('poll') - expandable → const KoahPreviewFormat
-
const KoahPreviewFormat('expandable') - rabbitHole → const KoahPreviewFormat
-
const KoahPreviewFormat('rabbit_hole')
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
- wireValue → String
-
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<
KoahPreviewFormat> - A constant List of the values in this enum, in order of their declaration.