Updated on 2023-03-23 GMT+08:00

Editing a Recurring Meeting

editSubCycleConf

API Description

This API is used to edit a recurring meeting.

Precautions

  1. Call this API after login.

Method Definition

1
- (void)editSubCycleConf:(HWMSDKModifySubCycleConfParamModel *_Nonnull)param callback:(_Nonnull HWMSDKCompleteHandler)callback;

Parameter Description

Table 1 HWMSDKModifySubCycleConfParamModel parameter description

Parameter

Mandatory

Type

Description

confId

Yes

NSString *

Meeting ID.

subConfID

Yes

NSString *

UUID of a recurring meeting.

confMediaType

No

HWMConfMediaType

Meeting media type.

startTime

No

NSInteger

Meeting start time (UTC time), in seconds.

confLen

No

NSInteger

Meeting duration, in minutes.

isAutoRecord

No

BOOL

Whether to automatically start recording after a meeting starts.

recordAuthType

No

NSUInteger

Recording authentication mode. The options are as follows: 0: The recording can be viewed or downloaded through link (no nonce is added). 1: Corporate users can view or download the recording. 2: Participants can view or download the recording.

callInRestriction

No

HWMConfAllowJoinUserType

Incoming call restriction.

allowGuestStartConf

No

BOOL

Whether to allow guests to start the meeting.

allowGuestStartConfTime

No

NSInteger

Time range for a guest to join a meeting in advance, in minutes. The options are as follows: 0: at any time; n: n minutes in advance.

Table 2 Enumerated values of HWMConfAllowJoinUserType

Value

Description

HWMConfAllowJoinUserTypeAnyone

Anyone.

HWMConfAllowJoinUserTypeLoginedUser

Logged-in users.

HWMConfAllowJoinUserTypeInCompanyUser

Corporate users only.

HWMConfAllowJoinUserTypeInvitedUser

Invited users only.

Sample Code

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
/// Edit a recurring meeting.
- (void)editSubCycleConf{
    HWMSDKModifySubCycleConfParamModel * modifySubCycleConfParamModel = [[HWMSDKModifySubCycleConfParamModel alloc] init];
    modifySubCycleConfParamModel.confId = confId;
    modifySubCycleConfParamModel.subConfID = subConfID;
    modifySubCycleConfParamModel.confMediaType = HWMConfMediaTypeVideo;
    modifySubCycleConfParamModel.startTime = 1633017600;
    modifySubCycleConfParamModel.confLen = 60;
    modifySubCycleConfParamModel.isAutoRecord = NO;
    modifySubCycleConfParamModel.callInRestriction = HWMConfAllowJoinUserTypeAnyone;
    modifySubCycleConfParamModel.allowGuestStartConf = NO;
    modifySubCycleConfParamModel.allowGuestStartConfTime = 0;
    [[HWMBizSdk getBizOpenApi] editSubCycleConf:modifySubCycleConfParamModel callback:^(NSError * _Nullable error, id  _Nullable result) {
        if (!error) {
            [UIUtil showMessage:@"Recurring meeting edited."];
        }else{
            [UIUtil showMessage:[NSString stringWithFormat:@"Edit recurring meeting failed:%zd %@", error.code, error.localizedDescription]];
        }
    }];
}