Updated on 2024-07-30 GMT+08:00

Scenario 4: Editing a Meeting

Description

The editConf API can be used to edit a meeting after you log in and call the Obtaining Meeting Details API or server RESTful API to obtain the meeting details.

Service Process

If you need to edit a meeting using the SDK, call the editConf API and then implement the callback.

  1. Call the API.

    1. Call the editConf API to edit a meeting.

  2. Implement the callback.

    Implement the callback.

Sample Code

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
/// Edit a meeting.
- (void)editConf {
    HWMOrderConfParam * param = [[HWMOrderConfParam alloc] init];
    param.confSubject = @"Meeting topic";
    param.startTime = 1598759580;
    param.duration = 15;
    param.isAutoRecord = NO;
    param.timeZone = 56;
    param.vmrId = @"";// Cloud meeting room ID, required for a meeting held in a cloud meeting room.
    param.callInRestrictionType = HWMJoinCallRestrictionAll;
    param.confId = @"986927771";
    [[HWMBizSdk getBizOpenApi] editConf:param callback:^(NSError *_Nullable error, id _Nullable result) {
        if (error) {
            NSLog(@"Edit meeting failed.:%@", error.localizedDescription);
        } else {
            NSLog(@"Meeting edited.");
        }
    }];
}