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

Canceling a Meeting

cancelConf

API Description

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

Precautions

  1. Only the host can cancel a meeting.

Method Definition

1
- (void)cancelConf:(NSString *_Nonnull)confId callback:(_Nonnull HWMSDKCompleteHandler)callback;

Parameter Description

Table 1 Parameter description

Parameter

Mandatory

Type

Description

confId

Yes

NSString *

Meeting ID.

Sample Code

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
/// Cancel a meeting.
- (void)cancelConf {
    [[HWMBizSdk getBizOpenApi] cancelConf:@"986927771" callback:^(NSError * _Nullable error, id  _Nullable result) {
        if (error) {
            NSLog(@"%@",error.localizedDescription);
        } else {
            NSLog(@"Meeting canceled.");
        }
    }];
}