Class: AdEvent

Constructor

AdEvent

new AdEvent()

Events fired by the ads manager.

Properties

AD_PERIOD_ENDED

static

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

static

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

static

Fired when the ad completes playing.

ERROR

static

Fired when an error occurs.

FIRST_QUARTILE

static

Fired when the ad playhead crosses the first quartile.

ICON_FALLBACK_IMAGE_CLOSED

static

Fired when the user closes the icon fallback image dialog.

ICON_FALLBACK_IMAGE_SHOWN

static

Fired when the icon fallback image is displayed.

MIDPOINT

static

Fired when the ad playhead crosses the midpoint.

PROGRESS

static

Fired when there is an update to the progress of an ad.

SKIPPABLE_STATE_CHANGED

static

Fired when an ad skippable state changes.

SKIPPED

static

Fired when an ad is skipped.

START

static

Fired when an ad starts playing.

THIRD_QUARTILE

static

Fired when the ad playhead crosses the third quartile.