ima. AdEvent
Constructor
AdEvent
new AdEvent()
Events fired by the ads manager.
Properties
AD_PERIOD_ENDED
Fired every time the stream switches from advertising or slate to content. This will be fired even when an ad is played a second time or when seeking into an ad.
AD_PERIOD_STARTED
Fired every time the stream switches from content to advertising or slate. This will be fired even when an ad is played a second time or when seeking into an ad.
COMPLETE
Fired when the ad completes playing.
ERROR
Fired when an error occurs.
FIRST_QUARTILE
Fired when the ad playhead crosses the first quartile.
ICON_FALLBACK_IMAGE_CLOSED
Fired when the user closes the icon fallback image dialog.
ICON_FALLBACK_IMAGE_SHOWN
Fired when the icon fallback image is displayed.
MIDPOINT
Fired when the ad playhead crosses the midpoint.
PROGRESS
Fired when there is an update to the progress of an ad.
SKIPPABLE_STATE_CHANGED
Fired when an ad skippable state changes.
SKIPPED
Fired when an ad is skipped.
START
Fired when an ad starts playing.
THIRD_QUARTILE
Fired when the ad playhead crosses the third quartile.