AdEventType enum

Types of events that can occur during ad playback.

Inheritance
Available extensions

Values

adBreakEnded → const AdEventType

Fired when an ad break in a stream ends.

adBreakFetchError → const AdEventType

Fired when an ad break will not play back any ads.

adBreakReady → const AdEventType

Fired when an ad break is ready from VMAP or ad rule ads.

adBreakStarted → const AdEventType

Fired when an ad break in a stream starts.

adBuffering → const AdEventType

Fired when playback stalls while the ad buffers.

adPeriodEnded → const AdEventType

Fired when an ad period in a stream ends.

adPeriodStarted → const AdEventType

Fired when an ad period in a stream starts.

adProgress → const AdEventType

Fired to inform of ad progress and can be used by publisher to display a countdown timer.

allAdsCompleted → const AdEventType

Fired when the ads manager is done playing all the valid ads in the ads response, or when the response doesn't return any valid ads.

clicked → const AdEventType

Fired when an ad is clicked.

complete → const AdEventType

Fired when an ad completes playing.

contentPauseRequested → const AdEventType

Fired when content should be paused.

This usually happens right before an ad is about to hide the content.

contentResumeRequested → const AdEventType

Fired when content should be resumed.

This usually happens when an ad finishes or collapses.

cuepointsChanged → const AdEventType

Fired when VOD stream cuepoints have changed.

firstQuartile → const AdEventType

Fired when the ad playhead crosses first quartile.

iconFallbackImageClosed → const AdEventType

The user has closed the icon fallback image dialog.

iconTapped → const AdEventType

The user has tapped an ad icon.

loaded → const AdEventType

Fired when the VAST response has been received.

log → const AdEventType

Fired to enable the SDK to communicate a message to be logged, which is stored in adData.

midpoint → const AdEventType

Fired when the ad playhead crosses midpoint.

paused → const AdEventType

Fired when an ad is paused.

resumed → const AdEventType

Fired when an ad is resumed.

skippableStateChanged → const AdEventType

Fired when an ad changes its skippable state.

skipped → const AdEventType

Fired when an ad was skipped.

started → const AdEventType

Fired when an ad starts playing.

streamLoaded → const AdEventType

Stream request has loaded (only used for dynamic ad insertion).

streamStarted → const AdEventType

Stream has started playing (only used for dynamic ad insertion).

tapped → const AdEventType

Fired when a non-clickthrough portion of a video ad is clicked.

thirdQuartile → const AdEventType

Fired when the ad playhead crosses third quartile.

unknown → const AdEventType

An unexpected event occurred and the type is not known.

Refer to the inner error for more information.

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