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

Leaving a Meeting

leaveConf

API Description

This API is used to leave a meeting.

Precautions

  1. Do not call this API if you are not in a meeting.
  2. If this API is called to leave a meeting, the meeting will not end. You can join the meeting again when the meeting is still in progress.

Method Definition

1
- (void)leaveConf:(HWMSDKCompleteHandler)callback;

Parameter Description

None

Return Values

None

Sample Code

1
2
3
4
/// Leave a meeting.
[[HWMSdk getBizOpenApi] leaveConf:^(NSError * _Nullable error, id  _Nullable result) {
    [UIUtil showMessage:@"Left meeting." error:error];
}];