AdStarted

data class AdStarted(val clientType: AdSourceType?, val clickThroughUrl: String?, val indexInQueue: Int, val duration: Double, val timeOffset: Double, val position: String?, val skipOffset: Double, val ad: Ad? = null) : PlayerEvent

Emitted when the playback of an ad has started.

Constructors

Link copied to clipboard
constructor(clientType: AdSourceType?, clickThroughUrl: String?, indexInQueue: Int, duration: Double, timeOffset: Double, position: String?, skipOffset: Double, ad: Ad? = null)

Properties

Link copied to clipboard
val ad: Ad? = null

The Ad this event is related to.

Link copied to clipboard

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

Link copied to clipboard

The AdSourceType of the started Ad.

Link copied to clipboard

The duration of the ad in seconds.

Link copied to clipboard

The index of the ad in the queue.

Link copied to clipboard

The position of the corresponding Ad.

Link copied to clipboard

The skip offset of the ad in seconds.

Link copied to clipboard

The content time at which the Ad is played.