Updated on 2024-07-30 GMT+08:00

Obtaining the Cloud Meeting Room List

API Description

This API is used to obtain the cloud meeting room list.

Precautions

None

Method Definition

1
2
3
4
5
6
    /**
     * Obtains the list of cloud meeting rooms. You can schedule a meeting in a cloud meeting room.
     *
     * @param hwmCallback Indicates the result callback.
     */
    void getVmrInfoList(HwmCallback<VmrInfoListModel> hwmCallback);

Parameter Description

Table 1 VmrInfoListModel description

Parameter

Type

Description

vmrInfoList

List<VmrInfoModel>

List of cloud meeting rooms.

isEnableShareVmr

boolean

Whether shared cloud meeting rooms are available.

Table 2 VmrInfoModel description

Parameter

Type

Description

name

String

Cloud meeting room name.

vmrConferenceId

String

Display ID of the cloud meeting room.

vmrId

String

Unique ID of the cloud meeting room.

chairmanPwd

String

Host password.

guestPwd

String

Guest password.

type

MeetingIdType

Meeting ID type.

RANDOM_MEETING_ID (0, "Random meeting ID"),

PERSONAL_MEETING_ID (1, "Personal meeting ID"),

CLOUD_MEETING_ROOM_ID (2, "Cloud meeting room ID");

maxParties

int

Maximum number of participants in the cloud meeting room.

vmrEnable

boolean

Whether the cloud meeting room is available.

confAllowJoinUser

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

boolean

Whether the waiting room is enabled.

Sample Code

HWMBizSdk.getBizOpenApi().getVmrInfoList(new HwmCallback<VmrInfoListModel>() {
    @Override
    public void onSuccess(VmrInfoListModel vmrInfoListModel) {
        Log.i(TAG, "getVmrList: " + vmrInfoListModel.getVmrInfoList().size());
        updateVmrList(vmrInfoListModel.getVmrInfoList());
    }
    @Override
    public void onFailed(int retCode, String desc) {
        HCLog.i(TAG,"getVmrList onFailed" + retCode + " " + desc);
    }
});