THEOplayer > Yospace
Inherits from EventDispatcher<YospaceEventMap> . See parent page for inherited properties and methods.
The Yospace API.
Signature:
export interface Yospace extends EventDispatcher<YospaceEventMap>
- Available since v2.14.7.
Property |
Type |
Description |
---|---|---|
|
The Yospace session. |
Method |
Description |
---|---|
registerPlayer(callbackCollection: YospaceCallbackObject): |
Register a set of callbacks to the player to the Yospace SDK. |
The Yospace session.
Signature:
readonly session: object;
- For the full API of this object, see YSSession Class - Yospace JavaScript AdManagement SDK for more information and examples
Register a set of callbacks to the player to the Yospace SDK.
Signature:
registerPlayer(callbackCollection: YospaceCallbackObject): void;
Parameter |
Type |
Description |
---|---|---|
callbackCollection |
- These callbacks will be used by the Yospace SDK to provide feedback to the player.