KoahPreviewFormat enum

The opaque render formats the SDK can display, one case per ladder name — size lives in the name, there is no separate size axis. Pass one to KoahSampleAd to render a hand-built specimen, or to Koah.requestPreviewAd to ask the server for a canned specimen of that format (useful for integration testing every format without seeding ads in the dashboard; specimens are not impressions and do not record events).

wireName is the opaque format the SDK renders on and offers in availableFormats; previewCapability is the family the server's previewFormat request param selects a specimen by.

Inheritance
Available extensions

Values

cardTextMd → const KoahPreviewFormat
const KoahPreviewFormat('card_text_md', 'card_text')
cardImageMd → const KoahPreviewFormat
const KoahPreviewFormat('card_image_md', 'card_image')
pollMd → const KoahPreviewFormat
const KoahPreviewFormat('poll_md', 'poll')
pollCtaMd → const KoahPreviewFormat
const KoahPreviewFormat('poll_cta_md', 'poll_cta')
expandableMd → const KoahPreviewFormat
const KoahPreviewFormat('expandable_md', 'expandable')

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

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.