AdStarted

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

Emitted when the playback of an ad has started.

Constructors

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

Properties

ad
Link copied to clipboard
val ad: Ad? = null
The Ad this event is related to.
clickThroughUrl
Link copied to clipboard
val clickThroughUrl: String?
The target URL to open once the user clicks on the ad.
clientType
Link copied to clipboard
val clientType: AdSourceType?
The AdSourceType of the started Ad.
duration
Link copied to clipboard
val duration: Double
The duration of the ad in seconds.
indexInQueue
Link copied to clipboard
val indexInQueue: Int
The index of the ad in the queue.
position
Link copied to clipboard
val position: String?
The position of the corresponding Ad.
skipOffset
Link copied to clipboard
val skipOffset: Double
The skip offset of the ad in seconds.
timeOffset
Link copied to clipboard
val timeOffset: Double
The content time at which the Ad is played.

Inherited properties

timestamp
Link copied to clipboard
var timestamp: Long
The time at which the event was emitted.