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

Scenario 8: 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
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 = @"";// VMR ID, which must be transferred for a VMR meeting.
    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.");
        }
    }];
}