NonLinearAdStarted

data class NonLinearAdStarted(val ad: NonLinearAd, val clickThroughUrl: String?, val position: String?) : PlayerEvent

Emitted when a NonLinearAd is presented.

Non-linear ads do not interrupt the main content, so they are not part of an ad break: no AdBreakStarted and AdBreakFinished surround this event.

Every NonLinearAdStarted is followed by exactly one NonLinearAdSkipped or NonLinearAdFinished.

Constructors

Link copied to clipboard
constructor(ad: NonLinearAd, clickThroughUrl: String?, position: String?)

Properties

Link copied to clipboard

The NonLinearAd that is presented.

Link copied to clipboard

The target URL to open once the user clicks on the ad.

Link copied to clipboard

The position of the corresponding NonLinearAd.