Updated on 2024-12-27 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.

NOTE:

The value is the difference between the UTC time and the UTC offset (converted into seconds). For example, if the time zone is UTC+08:00, the value is the UTC timestamp – (8 x 60 x 60).

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 HWMConfMediaType

Enumerated Value

Value

Description

HWMConfMediaTypeAudio

0

Voice meeting.

HWMConfMediaTypeVideo

1

Video meeting.

Table 3 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) {
            NSLog(@"Recurring meeting edited.");
        }else{
            NSLog(@"Edit recurring meeting failed:%zd %@", error.code, error.localizedDescription);
        }
    }];
}