THEOplayer Web SDK Connectors
    Preparing search index...

    Interface AnalyticEventObserver

    interface AnalyticEventObserver {
        onAdvertBreakEarlyReturn?: (
            adBreak: AdBreak,
            session: YospaceSession,
        ) => void;
        onAdvertBreakEnd?: (session: YospaceSession) => void;
        onAdvertBreakStart?: (adBreak: AdBreak, session: YospaceSession) => void;
        onAdvertEnd?: (session: YospaceSession) => void;
        onAdvertStart?: (advert: Advert, session: YospaceSession) => void;
        onAnalyticUpdate?: (session: YospaceSession) => void;
        onSessionError?: (error: TIMEOUT, session: YospaceSession) => void;
        onTrackingError?: (error: TrackingError, session: YospaceSession) => void;
        onTrackingEvent?: (type: string, session: YospaceSession) => void;
    }
    Index

    Properties

    onAdvertBreakEarlyReturn?: (adBreak: AdBreak, session: YospaceSession) => void
    onAdvertBreakEnd?: (session: YospaceSession) => void
    onAdvertBreakStart?: (adBreak: AdBreak, session: YospaceSession) => void
    onAdvertEnd?: (session: YospaceSession) => void
    onAdvertStart?: (advert: Advert, session: YospaceSession) => void
    onAnalyticUpdate?: (session: YospaceSession) => void
    onSessionError?: (error: TIMEOUT, session: YospaceSession) => void
    onTrackingError?: (error: TrackingError, session: YospaceSession) => void
    onTrackingEvent?: (type: string, session: YospaceSession) => void