OptiView Ads SDK
    Preparing search index...

    Interface AdChannelChangeEvent

    Emitted when a polled manifest changes the ads channel or playback crosses a channel-event boundary. Event-boundary changes use reason event-boundary and identify the active event with eventId (or null when no event is active). During an active break, the event is emitted after that break finishes and the latest manifest is applied.

    interface AdChannelChangeEvent {
        channelId: string | null;
        deliveryMode: SessionDeliveryMode;
        eventId: string | null;
        manifestUrl: string;
        previousChannelId: string | null;
        previousDeliveryMode: SessionDeliveryMode;
        reason: AdChannelChangeReason;
        timestamp: number;
        type: "adchannelchange";
    }

    Hierarchy (View Summary)

    Index
    channelId: string | null

    channelId of the manifest the session is aligned to now; null when it has none.

    deliveryMode: SessionDeliveryMode

    Delivery mode in effect after the switch.

    eventId: string | null

    Event id in effect after the boundary, or null when no event is active.

    manifestUrl: string

    The polled manifest URL (unchanged by the switch).

    previousChannelId: string | null

    channelId of the manifest the session was aligned to before; null when it had none.

    previousDeliveryMode: SessionDeliveryMode

    Delivery mode in effect before the switch.

    timestamp: number
    type: "adchannelchange"