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

Editing a Meeting

editConf

API Description

This API is used to edit a meeting that has not been started yet.

Precautions

  1. This API can be called only when a meeting has not been started and you are the host.
  2. userUuid must be transferred when a participant tries to edit a scheduled meeting. (In the meeting details, each participant carries this parameter.)
  3. Meeting recording must be enabled if automatic recording is enabled.
  4. All fields are mandatory. Specify the fields that need to be modified as required, and obtain the values of other fields that do not need to be modified from the meeting details.

Method Definition

1
- (void)editConf:(HWMOrderConfParam *_Nonnull)param callback:(_Nonnull HWMSDKCompleteHandler)callback;

Parameter Description

Table 1 HWMOrderConfParam parameters (For details about other parameters, see "Scheduling a Meeting.")

Parameter

Mandatory

Type

Description

confId

Yes

NSString *

Meeting ID.

isLiveOn

No

BOOL

Whether live broadcast is enabled.

Sample Code

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
/// Edit a meeting.
- (void)editConf {
    HWMOrderConfParam * param = [[HWMOrderConfParam alloc] init];
    param.confSubject = @"Meeting topic";
    param.startTime = 1598759580;
    param.duration = 15;
    param.confType = HWMConfTypeVideo;
    param.isNeedConfPwd = YES;
    param.isRecordOn = NO;
    param.timeZone = 56;
    param.vmrId = @"";// Cloud meeting room ID, which must be transferred for a meeting held in the cloud meeting room.
    param.callInRestrictionType = HWMCallRestrictionAll;
    param.confId = @"986927771";
    [[HWMBizSdk getBizOpenApi] editConf:param callback:^(NSError *_Nullable error, id _Nullable result) {
        if (error) {
            NSLog(@"Failed to edit the meeting:%@", error.localizedDescription);
        } else {
            NSLog(@"Meeting edited.");
        }
    }];
}