Help Center/ Meeting/ Client SDK Reference/ Android SDK/ API Reference/ Meeting Management/ Modifying Cloud Meeting Room Information
Updated on 2023-03-23 GMT+08:00

Modifying Cloud Meeting Room Information

API Description

This API is used to modify cloud meeting room information.

Precautions

None

Method Definition

1
2
3
4
5
6
    /**
     * Modifies cloud meeting room information.
     * @param vmrParam: Indicates the cloud meeting information. guestPwd: Indicates the guest password. hostPwd: Indicates the host password. vmrName: Indicates the cloud meeting room name. vmrId: Indicates the unique ID of the cloud meeting room.
     * @param hwmCallback Indicates the result callback.
     */
   void changeVmrInfo(ModifyVmrParam vmrParam, HwmCallback<Void> hwmCallback);

Parameter Description

Table 1 ModifyVmrParam parameters

Parameter

Mandatory

Type

Description

vmrId

Yes

String

Unique cloud meeting room ID.

guestPwd

Yes

String

Guest password.

hostPwd

Yes

String

Host password.

subject

Yes

String

Topic of meetings held using the cloud meeting room.

allowGuestStartConf

No

boolean

Whether to allow guests to join the meeting ahead of the host.

confAllowJoinUser

No

ConfAllowJoinUserType

Types of users allowed to join the meeting.

CONF_ALLOW_JOIN_ANYONE (0, "Anyone: Anyone"),

CONF_ALLOW_JOIN_LOGINED_USER (1, "logined user: Logged-in users"),

CONF_ALLOW_JOIN_IN_COMPANY_USER (2, "Company user: Corporate users"),

CONF_ALLOW_JOIN_INVITED_USER (3, "Invited user: Invited users")

isOpenWaitingRoom

No

boolean

Whether the waiting room is enabled.

Sample Code

        ModifyVmrParam vmrParam = new ModifyVmrParam();
        vmrParam.setGuestPwd(item.getGuestPwd());
        vmrParam.setHostPwd(item.getChairmanPwd());
        vmrParam.setVmrId(item.getVmrId());
        vmrParam.setSubject(item.getName());
        HWMBizSdk.getBizOpenApi().changeVmrInfo(vmrParam, new HwmCallback<Void>() {
            @Override
            public void onSuccess(Void v) {
                DemoUtil.showToast("Guest password of the cloud meeting room changed.");
            }

            @Override
            public void onFailed(int retCode, String desc) {
                DemoUtil.showToast("Failed to change the guest password of the cloud meeting room: " + retCode +", desc: "+ desc);
            }
        });