Updated on 2025-05-29 GMT+08:00

Editing a Recurring Meeting

ModifySubCycleConf

API Description

This API is used to edit a recurring meeting.

Precautions

  1. Call this API after login.
  2. This API is an asynchronous API. The return value only indicates whether the API is successfully called. The actual service processing result is returned in the corresponding callback function.

Method Definition

1
HWM_SDK_AGENT_API hwmsdk::HwmErrCode ModifySubCycleConf(const HwmModifySubCycleConfParam *modifySubCycleConfParam);

Callback Function

1
virtual void OnModifySubCycleConfResult(hwmsdk::HwmErrCode ret, const char* reason) {};

Parameter Description

Table 1 HwmModifySubCycleConfParam parameters

Parameter

Mandatory

Type

Description

confId

Yes

char[]

Meeting ID.

subConfID

Yes

char[]

UUID of a recurring meeting.

confMediaType

No

HwmConfMediaType

Meeting media type.

startTimeStamp

Yes

long long

Meeting start time. The value is a UTC timestamp, accurate to seconds.

confLen

No

unsigned int

Meeting duration, in minutes.

isAutoRecord

No

bool

Whether to automatically start recording after the meeting starts.

recordAuthType

No

unsigned int

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

HwmJoinConfPermissionType

Incoming call restriction.

allowGuestStartConf

No

bool

Whether to allow guests to start the meeting.

allowGuestStartConfTime

No

unsigned int

Time range for guests to join the meeting in advance, in minutes. 0: anytime before the scheduled time. n: n minutes before the scheduled time.

Sample Code

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
/**
* Edit a recurring meeting.
*/
int demoConfListDlg::ModifySubCycleConf()
{
    hwmsdkagent::HwmModifySubCycleConfParam SubCycleConfParam{};
    strcpy_s(SubCycleConfParam.confId, sizeof(SubCycleConfParam.confId), confId.c_str());
    strcpy_s(SubCycleConfParam.subConfID, sizeof(SubCycleConfParam.subConfID), subConfUuid.c_str());
 
    SubCycleConfParam.confMediaType = 1;
    SubCycleConfParam.startTime = 1633017600;
    SubCycleConfParam.confLen = 60;
    SubCycleConfParam.isAutoRecord = false;
    SubCycleConfParam.callInRestriction = 0;
    SubCycleConfParam.allowGuestStartConf = false;
    SubCycleConfParam.allowGuestStartConfTime = 0;
 
    return hwmsdkagent::ModifySubCycleConf(&SubCycleConfParam);
}