Webex Embedded Apps meeting instance.

Example

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

Hierarchy

  • WebexAppsMeeting

Implements

  • IWebexAppsMeeting

Events

meeting:infoChanged: IWebexAppsMeetingState

Fired when meeting information has changed for the current meeting.

Remarks

Available since 1.1.0

Example

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

Fired when the role for the current participant changes.

Remarks

Available since 1.1.0

Example

app.onReady().then(() =>  {
app.listen()
.then(() => {
app.on("meeting:roleChanged", (assignedRoles) => {
console.log("Meeting role changed for user. New roles:", assignedRoles);
})
})
.catch((reason) => {
console.error("listen: fail reason=" + webex.Application.ErrorCodes[reason]);
});
});

assignedRoles object is an array of strings that indicate the new role(s) assigned to the current user. Possible values are

  • PARTICIPANT

  • GUEST

  • HOST

  • COHOST

  • PANELIST

  • PRESENTER

Properties

Holds meeting information obtained from app.context.getMeeting()