AdBreakStatusEvent

data class AdBreakStatusEvent(val status: AdBreakStatus, val timestamp: Long) : OptiViewAdsEvent

Event emitted when the status of the current or upcoming ad break changes. Carries a complete AdBreakStatus snapshot. Mirrors the TS AdBreakStatusEvent.

Constructors

Link copied to clipboard
constructor(status: AdBreakStatus, timestamp: Long)

Properties

Link copied to clipboard

The complete status at the time of the event.

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.