MovaAdEventType enum
Lifecycle events reported to MovaAdOpts.onAdEvent as an ad plays.
广告播放过程中上报给 MovaAdOpts.onAdEvent 的生命周期事件。
Values
- pending → const MovaAdEventType
-
The break became due but has not taken over yet: its MovaAdBreak.delay countdown is running, or it is being warmed up in the background, while the content deliberately keeps playing.
广告位已到期但尚未接管:其 MovaAdBreak.delay 倒计时正在走,或正在后台 预热,而正片刻意继续播放。
- started → const MovaAdEventType
-
The ad began playing.
广告开始播放。
- completed → const MovaAdEventType
-
The ad played to the end.
广告播放到结束。
- skipped → const MovaAdEventType
-
The viewer skipped the ad.
观众跳过了广告。
- clicked → const MovaAdEventType
-
The viewer tapped the ad (host handles MovaAdBreak.clickThroughUrl).
观众点击了广告(由宿主处理 MovaAdBreak.clickThroughUrl)。
- failed → const MovaAdEventType
-
The ad could not be played: it failed to open, errored out, never produced a first frame, or was dropped for not warming up in time.
广告无法播放:打开失败、播放报错、始终没有首帧,或因未能及时预热就绪而 被丢弃。
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<
MovaAdEventType> - A constant List of the values in this enum, in order of their declaration.