UNPKG

bigbluebutton-html-plugin-sdk

Version:

This repository contains the SDK for developing BigBlueButton plugins. Plugins are React components that can be loaded from external sources by the BigBlueButton HTML5 client to extend its functionalities.

22 lines 773 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.userStatus = void 0; var enums_1 = require("./enums"); exports.userStatus = { /** * Sets the away status of the user to a certain status. * * @param setAwayStatusCommandArguments the status to which the core will set the user * status. * Refer to {@link SetAwayStatusCommandArguments} to understand the argument structure. */ setAwayStatus: function (setAwayStatusCommandArguments) { var away = setAwayStatusCommandArguments.away; window.dispatchEvent(new CustomEvent(enums_1.UserStatusEnum.SET_AWAY_STATUS, { detail: { away: away, }, })); }, }; //# sourceMappingURL=commands.js.map