Help Center/ Meeting/ Client SDK Reference/ macOS SDK/ APIs/ Meeting Management/ Modifying Cloud Meeting Room Information
Updated on 2024-07-30 GMT+08:00

Modifying Cloud Meeting Room Information

changeVmrInfo

API Description

This API is used to modify cloud meeting room information.

Precautions

  1. If possible, change guest passwords only.

Method Definition

1
- (void)changeVmrInfo:(HWMModifyVMRParam *)info callback:(_Nonnull HWMSDKCompleteHandler)callback;

Parameter Description

Table 1 HWMModifyVMRParam description

Parameter

Mandatory

Type

Description

vmrId

Yes

NSString *

Unique cloud meeting room ID.

guestPwd

Yes

NSString *

Guest password.

chairPwd

Yes

NSString *

Host password.

vmrName

Yes

BOOL

Cloud meeting room name.

allowGuestStartConf

Yes

BOOL

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

confAllowJoinUser

No

HWMJoinConfRestrictionType

Users who are allowed to join the meeting.

isOpenWaitingRoom

No

BOOL

Whether to enable the waiting room.

Table 2 Enumerated values of HWMJoinConfRestrictionType

Parameter

Description

HWMJoinConfRestrictionAll

Everyone.

HWMJoinConfRestrictionCompany

Corporate users only.

HWMJoinConfRestrictionInvited

Invited users only.

Sample Code
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
/// Modify cloud meeting room information.
- (void)changeVmrInfo {
    HWMModifyVMRParam * vmrInfo = [[HWMModifyVMRParam alloc] init];
    vmrInfo.guestPwd = getGuestPwd();
    vmrInfo.chairPwd = getChairPwd();
    vmrInfo.vmrName = @"Cloud meeting room name"
    vmrInfo.vmrId = @"8a8d0d8a718d87d50171a9f6b8de0f40";
    vmrInfo.allowGuestStartConf = YES;
    [[HWMBizSdk getBizOpenApi] changeVmrInfo:vmrInfo callback:^(NSError * _Nullable error, id  _Nullable result) {
        if (error) {
            NSLog(@"%@", error.localizedDescription);
        } else {
            NSLog(@"Cloud meeting room information modified.");
        }
    }];
}