Webex Embedded Apps Space instance.

Example

This can be accessed as follows, ```javascript const app = new webex.Application(); await app.onReady(); const space = app.space; const spaceInfo = space.states; ``` `spaceInfo` properties are documented at IWebexAppsSpaceState

Hierarchy

  • WebexAppsSpace

Implements

  • IWebexAppsSpace

Events

Properties

Events

space:infoChanged: IWebexAppsSpaceState

Fired when information about the space in which the application is running changes.

Remarks

Available since 1.1.0

Example

app.onReady().then(() =>  {
app.listen()
.then(() => {
app.on("space:infoChanged", (space) => {
console.log("Space information changed. New space info:", space);
})
})
.catch((reason) => {
console.error("listen: fail reason=" + webex.Application.ErrorCodes[reason]);
});
});

Properties

Holds space information obtained from app.context.getSpace()