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

Ending a Meeting

endConf

API Description

This API is used to end a meeting.

Precautions

  1. Do not call this API if you are not in a meeting.
  2. Only the host can end a meeting.
  3. After this API is called, the meeting will end and you cannot join the meeting again.

Method Definition

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

Parameter Description

None

Return Values

None

Sample Code

1
2
3
4
/// End a meeting.
[[HWMSdk getOpenApi] endConf:^(NSError * _Nullable error, id  _Nullable result) {
    [UIUtil showMessage:@"Meeting ended." error:error];
}];