更新时间:2025-01-09 GMT+08:00
编辑周期会议
modifyCycleConf
接口描述
该接口用于编辑周期会议。
注意事项
该接口在已登录状态下才能调用。
方法定义
1
|
modifyCycleConf(modifyCycleConfParam: HWMOpenModifyCycleConfParamModel): Promise<HWMCommonResult>; |
参数描述
参数 |
是否必须 |
类型 |
描述 |
---|---|---|---|
modifyCycleConfParam |
是 |
编辑周期会议参数。 |
返回值
参数 |
类型 |
描述 |
---|---|---|
result |
SDKERR |
接口调用结果,HWM_SDKERR_SUCCESS表示成功,详细请参考错误码参考。 |
reasonDesc |
string |
错误描述。 |
示例代码
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
/** * 编辑周期会议 */ handleModifyCycleConf() { const attendees: Array<HWMOpenAttendeeBaseInfoModel> = [{ number: this.getNumber(), name: this.getName(), accountId: this.getAccountId(), isSelf: this.isSelf, thirdAccount: this.getThirdAccount(), userUuid: this.getUserUuid() }]; const modifyConfParam: HWMOpenModifyConfParamModel = { confId: this.confId, startTime: this.confDetailInfo.baseInfo.startTime, confLen: this.confDetailInfo.durationMinutes, allowGuestStartConf: this.confDetailInfo.allowGuestStartConf, allowGuestStartConfTime: this.confDetailInfo.allowGuestStartConfTime, isSendCalendarNotify: this.confDetailInfo.isEmailCalenderOn, confCommonParam: { vmrId: this.confDetailInfo.vmrId, vmrIdType: this.confDetailInfo.vmrIdType, attendees: attendees, subject: this.subject, confAllowJoinUser: this.confAllowJoinUser, autoMuteMode: this.confDetailInfo.baseInfo.autoMuteMode, hardTerminalAutoMuteMode: this.confDetailInfo.baseInfo.hardTerminalAutoMuteMode, isSendSms: this.confDetailInfo.isSmsOn, confMediaType: this.confDetailInfo.baseInfo.mediaType, recordMode: this.confDetailInfo.recordMode, supportWatermark: this.isWatermarkOn, guestPwd: this.guestPwd, isGuestJoinConfWithoutPwd: StringUtils.isEmpty(this.guestPwd), } } const cycleParam: HWMOpenCycleConfParamModel = { startDate: this.getStartDate(), endDate: this.getEndDate(), cycleType: this.getCycleType(), interval: this.getInterval(), listPoints: this.getListPoints(), preRemindDays: this.getPreRemindDays() } const modifyCycleConfParam: HWMOpenModifyCycleConfParamModel= { modifyConfParam: modifyConfParam, cycleParam: cycleParam } UISDK.getConfMgrApi().modifyCycleConf(modifyCycleConfParam).then((res: HWMCommonResult) => { const message: string = res.result === SDKERR.HWM_SDKERR_SUCCESS ? '编辑周期会议成功' : '编辑周期会议失败' + res.result; console.log(message); }) } |
父主题: 会议管理