The type of the event.
The callback which is executed when the event occurs.
Register an analytics event observer to the Yospace SDK.
the observer that will be registered to the Yospace SDK.
Error
if the session is not yet initialised.
Remove the given listener for the given event type(s).
The type of the event.
The callback which will be removed.
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.
The source that will be used to create the Yospace session. This should have at least one source whose TypedSource.ssai is a YospaceServerSideAdInsertionConfiguration.
Optional
sessionProperties: SessionPropertiesThe properties that will be used set to customize the Yospace session.
Error
if the Yospace Ad Management SDK is not available.
Error
if something goes wrong in setting up the session.
Unregister an analytics event observer from the Yospace SDK.
the observer that will be unregistered from the Yospace SDK.
Generated using TypeDoc
Add the given listener for the given event type(s).