Modifying Cloud Meeting Room Information
ChangeVmrInfo
API Description
This API is used to modify cloud meeting room information.
Precautions
- Call this API after login.
- This API is an asynchronous API. The return value only indicates whether the API is successfully called. The actual service processing result is returned in the corresponding callback function.
- All parameters are mandatory. Before calling this API, you need to obtain the cloud meeting room list. For parameters that do not need to be changed, use the values returned by the API for obtaining the cloud meeting room list.
Method Definition
1
|
HWM_SDK_AGENT_API hwmsdk::HwmErrCode ChangeVmrInfo(const ChangeVmrInfoParam *param); |
Callback Function
1
|
virtual void OnChangeVmrInfo(hwmsdk::HwmErrCode ret, const char* reason) {}; |
Parameter Description
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
vmrId |
Yes |
char[] |
Unique cloud meeting room ID. |
vmrName |
Yes |
char[] |
Cloud meeting room name. |
chairPwd |
Yes |
char[] |
Host password of the cloud meeting room. |
guestPwd |
Yes |
char[] |
Guest password of the cloud meeting room. |
allowGuestStartConf |
No |
bool |
Whether to allow guests to join the meeting ahead of the host. |
joinConfRestrictionType |
No |
HwmJoinConfPermissionType |
Users who are allowed to join the meeting. |
isOpenWaitingRoom |
No |
bool |
Waiting room status. |
Type |
Description |
---|---|
HwmErrCode |
If 0 is returned, the operation is successful. If other values are returned, the operation fails. For details about values returned upon failures, see Common Error Codes. |
Sample Code
1 2 3 4 5 6 7 8 9 10 11 |
/** * Modify cloud meeting room information. */ int demoCreateConfWithAttendeeDlg::onClickEditVmrSubmit() { hwmsdkagent::ChangeVmrInfoParam infoParam = {0}; strcpy_s(infoParam.vmrName, sizeof(infoParam.vmrName), GetName().c_str()); strcpy_s(infoParam.chairPwd, sizeof(infoParam.chairPwd), GetChairPwd().c_str()); strcpy_s(infoParam.guestPwd, sizeof(infoParam.guestPwd), GetGuestPwd().c_str()); return hwmsdkagent::ChangeVmrInfo(&infoParam); } |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot