Namespace StreamEvent
Stay organized with collections
Save and categorize content based on your preferences.
| Enumerations |
Type
|
List of event types that IMA DAI SDK supports. |
Enumerations
Type
Type
List of event types that IMA DAI SDK supports.
| Enumeration Members |
AD_BREAK_ENDED
|
Occurs the first time each ad break ends. You must re-enable seeking when IMA
emits this event.
|
AD_BREAK_STARTED
|
Occurs the first time each ad break begins. If a user watches the ad break
subsequent times this event doesn't occur. You must disable seeking when
this event occurs.
|
AD_PERIOD_ENDED
|
Occurs every time the stream switches from advertising or slate to content.
This event also occurs when playing an ad a second time or when seeking into
an ad.
|
AD_PERIOD_STARTED
|
Occurs every time the stream switches from content to advertising or slate.
This event also occurs when playing an ad a second time or when seeking into
an ad.
|
AD_PROGRESS
|
Occurs after an update to an ad's progress. |
CLICK
|
Occurs when users click or tap the click element during ad playback.
|
COMPLETE
|
Occurs when an ad is complete. |
CUEPOINTS_CHANGED
|
Occurs during on-demand stream playback when the cuepoints change.
|
ERROR
|
Occurs when an error happens. |
FIRST_QUARTILE
|
Occurs when an ad reaches the first quartile. |
HIDE_AD_UI
|
Occurs when the ad ends and you must hide any ad UI you render, if you enable
custom ad UI.
|
LOADED
|
Occurs when the stream manifest is available. |
MIDPOINT
|
Occurs when an ad reaches the midpoint. |
PAUSED
|
Occurs when users pause the ad. |
RESUMED
|
Occurs when users resume the ad. |
SHOW_AD_UI
|
Occurs when the ad starts, indicating you must show the ad UI, if you enable
custom ad UI.
|
SKIPPABLE_STATE_CHANGED
|
Occurs when the displayed ad's skippable state changes and viewers can
skip the ad.
|
SKIPPED
|
Occurs when users skip the ad. |
STARTED
|
Occurs when an ad starts. |
STREAM_INITIALIZED
|
Occurs when you make a stream request. |
THIRD_QUARTILE
|
Occurs when an ad reaches the third quartile. |
VIDEO_CLICKED
|
Occurs when users click on the video without navigating to the ad site.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-05-27 UTC.
[null,null,["Last updated 2026-05-27 UTC."],[],[]]