WaitingEvent

data class WaitingEvent(val source: PlaybackSource, val break_: Break?, val assetId: String?, val timestamp: Long, val asset: Asset? = null) : OptiViewAdsEvent

Playback stalled for buffering, on the content player or the ad player.

Constructors

Link copied to clipboard
constructor(source: PlaybackSource, break_: Break?, assetId: String?, timestamp: Long, asset: Asset? = null)

Properties

Link copied to clipboard
val asset: Asset?

The resolved asset, mirroring the web events' asset field.

Link copied to clipboard

Id of the stalled asset; null for content.

Link copied to clipboard

The break in progress when the ad player stalled; null for content.

Link copied to clipboard

Which player stalled.

Link copied to clipboard
open override val timestamp: Long

When the event was emitted, in milliseconds since the Unix epoch.

Link copied to clipboard
open override val type: OptiViewAdsEventType

Which event this is.