更新时间:2025-01-09 GMT+08:00
修改云会议室信息
modifyVmrInfo
接口描述
该接口用于修改云会议室信息。
注意事项
该接口在已登录状态下才能调用。
方法定义
1 | modifyVmrInfo(modifyVmrParam: HWMOpenModifyVmrParamModel): Promise<HWMCommonResult>; |
参数描述
| 参数 | 是否必须 | 类型 | 描述 |
|---|---|---|---|
| modifyVmrParam | 是 | HWMOpenModifyVmrParamModel | 云会议室信息参数。 |
| 参数 | 是否必须 | 类型 | 描述 |
|---|---|---|---|
| vmrId | 是 | string | 云会议室唯一ID。 |
| subject | 是 | string | 云会议室名称。 |
| hostPwd | 是 | string | 云会议室主持人密码。 |
| guestPwd | 是 | string | 云会议室来宾密码。 |
| allowGuestStartConf | 否 | boolean | 是否允许来宾提前启动会议 |
| confAllowJoinUser | 否 | 允许入会范围限制。默认所有用户。 |
返回值
| 参数 | 类型 | 描述 |
|---|---|---|
| result | SDKERR | 接口调用结果,HWM_SDKERR_SUCCESS表示成功,详细请参考错误码参考。 |
| reasonDesc | string | 错误描述。 |
示例代码
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | /** * 修改云会议室信息 */ handleModifyVmrInfo() { const model: HWMModifyVmrParamModel = { vmrId: this.VMRId, subject: this.subject, hostPwd: this.hostPwd, guestPwd: this.guestPwd, allowGuestStartConf: this.allowGuestStartConf, confAllowJoinUser: this.confAllowJoinUser } UISDK.getConfMgrApi().modifyVmrInfo(model).then((res: HWMCommonResult) => { const message: string = res.result === SDKERR.HWM_SDKERR_SUCCESS ? '修改云会议室信息成功' : '修改云会议室信息失败' + res.result; console.log(message); }) } |
父主题: 会议管理