AdChannelChangeEvent

data class AdChannelChangeEvent(val previousChannelId: String?, val channelId: String?, val reason: AdChannelChangeReason, val manifestUrl: String, val previousDeliveryMode: DeliveryMode, val deliveryMode: DeliveryMode, val timestamp: Long) : OptiViewAdsEvent

A polled manifest described a different ads channel and the SDK re-aligned its ad setup to it while the session and content playback continued. Fires once per switch, after a break in progress has finished and the new manifest is applied.

Constructors

Link copied to clipboard
constructor(previousChannelId: String?, channelId: String?, reason: AdChannelChangeReason, manifestUrl: String, previousDeliveryMode: DeliveryMode, deliveryMode: DeliveryMode, timestamp: Long)

Properties

Link copied to clipboard

The channelId after the switch; null when the manifest has none.

Link copied to clipboard

Delivery mode in effect after the switch.

Link copied to clipboard

The manifest URL of the session.

Link copied to clipboard

The channelId before the switch; null when the manifest had none.

Link copied to clipboard

Delivery mode in effect before the switch.

Link copied to clipboard

What changed between the two manifests.

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.