logo

THEOplayer > Yospace

Yospace interface

Inherits from EventDispatcher<YospaceEventMap> . See parent page for inherited properties and methods.

The Yospace API.

Signature:

export interface Yospace extends EventDispatcher<YospaceEventMap> 

Remarks


- Available since v2.14.7.

Properties

Property

Type

Description

session

object

The Yospace session.

Methods

Method

Description

registerPlayer​(callbackCollection: YospaceCallbackObject): void

Register a set of callbacks to the player to the Yospace SDK.

Property Details

session

The Yospace session.

Signature:

readonly session: object;

Remarks


- For the full API of this object, see YSSession Class - Yospace JavaScript AdManagement SDK for more information and examples

Method Details

registerPlayer

Register a set of callbacks to the player to the Yospace SDK.

Signature:

registerPlayer(callbackCollection: YospaceCallbackObject): void;

Parameters

Parameter

Type

Description

callbackCollection

YospaceCallbackObject

The YospaceCallbackObject

Remarks


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

github
Make sure to follow us on GitHub!
THEO-logo-white
twitter
facebook
linkedin
Copyright © 2020. All Rights Reserved.
Leuven
New York
San Francisco
Singapore
Barcelona