Implements

Constructors

Methods

  • Register an analytics event observer to the Yospace SDK.

    Parameters

    Returns void

    Throws

    Error if the session is not yet initialised.

  • Creates the Yospace session and sets the Yospace source from the session to the player.

    As of THEOplayer 7.4.0, you can also set player.source directly instead of using this method.

    Parameters

    Returns Promise<void>

    Throws

    Error if the Yospace Ad Management SDK is not available.

    Throws

    Error if something goes wrong in setting up the session.

  • Unregister an analytics event observer from the Yospace SDK.

    Parameters

    • analyticEventObserver: AnalyticEventObserver

      the observer that will be unregistered from the Yospace SDK.

    Returns void

Generated using TypeDoc