Interface SessionUiEventData

The session UI event data which appears as an event's detail property.

interface SessionUiEventData {
    adClickthroughUrl?: string;
    adCountdown?: AdCountdown;
    adElapsedTime?: number;
    adObject?: AdObject;
    failedAdTrackingInfoRequest?: boolean;
    nonLinearAdsObject?: NonLinearAdsObject;
    timeToNextAd?: number;
}

Properties

adClickthroughUrl?: string

The URL to follow when ad click-through happens.

adCountdown?: AdCountdown

The countdown timers related to the current ad.

adElapsedTime?: number

The time difference (in seconds) between the current playhead position and the first frame of the ad.

adObject?: AdObject

The ad object which is the subject of the corresponding UI event.

failedAdTrackingInfoRequest?: boolean

Whether the corresponding ad tracking info request has failed.

nonLinearAdsObject?: NonLinearAdsObject

The nonlinear ad object which is the subject of the corresponding UI event.

timeToNextAd?: number

The time interval (in seconds) between the current playhead position and the next ad.

Generated using TypeDoc