Help Center> Meeting> Client SDK Reference> iOS SDK> API Reference> Meeting Management> Obtaining the Cloud Meeting Room List
Updated on 2023-03-23 GMT+08:00

Obtaining the Cloud Meeting Room List

getVmrList

API Description

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

Precautions

None

Method Definition

1
2
- (NSArray<HWMVmrInfoModel *> *)getVmrList DEPRECATED_MSG_ATTRIBUTE("Use '- (void)getVmrList:(_Nonnull HWMSDKVmrListCompleteHandler)callback' instead");
- (void)getVmrList:(_Nonnull HWMSDKVmrListCompleteHandler)callback;

Parameter Description

Table 1 HWMVmrInfoModel parameters

Parameter

Type

Description

name

NSString *

Cloud meeting room name.

confId

NSString *

Display ID of the cloud meeting room.

vmrId

NSString *

Unique cloud meeting room ID.

chairmanPwd

NSString *

Host password.

guestPwd

NSString *

Guest password.

type

HWMConfIdType

Meeting type.

maxParties

NSUInteger

Maximum number of participants in the cloud meeting room.

vmrStatus

BOOL

Cloud meeting room status. YES: The cloud meeting room is available. NO: The cloud meeting room is unavailable.

confAllowJoinUser

HWMCallInRestrictionType

Users who are allowed to join the meeting.

isOpenWaitingRoom

BOOL

Whether the waiting room is enabled.

Table 2 Enumerated values of HWMConfIdType

Value

Description

HWMConfIdPersonal

Personal meeting ID.

HWMConfIdPrivate

Dedicated meeting ID.

HWMConfIdRandom

Random meeting ID.

Table 3 Enumerated values of HWMCallInRestrictionType

Value

Description

HWMCallRestrictionAll

Everyone.

HWMCallRestrictionNotAnonymouse

Non-anonymous users

HWMCallRestrictionCompany

Corporate users only.

HWMCallRestrictionInvited

Invited users only.

Sample Code

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
// Obtain the cloud meeting room list.
- (void)getVmrList {
    [[HWMBizSdk getBizOpenApi] getVmrList:^(NSError * _Nullable error, NSArray<HWMVmrInfoModel *> * _Nullable result) {
        if (error) {
            NSLog(@"Cloud meeting room list obtained.");
        } else {
            NSLog(@"Failed to obtain the cloud meeting room list.");
        }
    }];
}