PlayingEvent

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

Playback started or resumed after stalling or pausing, 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 asset that started; null for content.

Link copied to clipboard

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

Link copied to clipboard

Which player started playing.

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.