Updated on 2023-03-23 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
    /**
     * Obtains the cloud meeting room list.
     * @param hwmCallback Indicates the result callback.
     */
   void getVmrList(HwmCallback<List<VmrInfoModel>> hwmCallback);;

Parameter Description

Table 1 VmrInfoModel parameters

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().getVmrList(new HwmCallback<List<VmrInfoModel>>() {
	@Override
	public void onSuccess(List<VmrInfoModel> vmrInfoModelList) {
		Log.i(TAG, "getVmrList: " + (vmrInfoModelList == null ? 0 : vmrInfoModelList.size()));
		updateVmrList(vmrInfoModelList);
	}

	@Override
	public void onFailed(int retCode, String desc) {

	}
});