Interface YospaceCallbackObject

Represents the collection of standard callback functions for a Yospace SessionManager.

Remarks


- These callbacks will be used by the Yospace SDK to provide feedback to the player.

interface YospaceCallbackObject {
    AdBreakEnd: (() => void);
    AdBreakStart: (() => void);
    AdvertEnd: ((mediaID) => void);
    AdvertStart: ((mediaID) => void);
    InjectVast: (() => void);
    UpdateTimeline: ((timeline) => void);
}

Properties

AdBreakEnd: (() => void)

Type declaration

    • (): void
    • Returns void

AdBreakStart: (() => void)

Type declaration

    • (): void
    • Returns void

AdvertEnd: ((mediaID) => void)

Type declaration

    • (mediaID): void
    • Parameters

      • mediaID: string

      Returns void

AdvertStart: ((mediaID) => void)

Type declaration

    • (mediaID): void
    • Parameters

      • mediaID: string

      Returns void

InjectVast: (() => void)

Type declaration

    • (): void
    • Returns void

UpdateTimeline: ((timeline) => void)

Type declaration

    • (timeline): void
    • Parameters

      • timeline: any

      Returns void

Generated using TypeDoc