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

Canceling a Recurring Meeting Series

cancelCycleConfWithParam

API Description

This API is used to cancel a recurring meeting series that has at least one upcoming meeting.

Precautions

  1. Call this API after login.
  2. Call this API before the last recurring meeting starts. If the last recurring meeting is already in progress, calling this API is invalid.

Method Definition

1
- (void)cancelCycleConfWithParam:(HWMSDKCancelCycleConfParamModel *_Nonnull)param callback:(_Nonnull HWMSDKCompleteHandler)callback;

Parameter Description

Table 1 HWMSDKCancelCycleConfParamModel parameter description

Parameter

Mandatory

Type

Description

confId

Yes

NSString *

Meeting ID.

endOnlineConf

Yes

BOOL

Whether to end an ongoing meeting.

Sample Code

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
/// Cancel a recurring meeting series.
- (void)cancelCycleConf {
    HWMSDKCancelCycleConfParamModel *cancelParam = [[HWMSDKCancelCycleConfParamModel alloc] init];
    cancelParam.confId = "989156631";
    cancelParam.endOnlineConf = YES;
    [[HWMBizSdk getBizOpenApi] cancelCycleConfWithParam:cancelParam callback:^(NSError * _Nullable error, id  _Nullable result) {
        NSString *tips = !error ? @"Recurring meeting series canceled." : @"Cancel recurring meeting series failed.";
        [UIUtil showMessage:tips error:error];
    }];
}