Help Center/ Meeting/ Client SDK Reference/ macOS SDK/ APIs/ Meeting Control/ Rejecting a Meeting Invitation
Updated on 2025-07-28 GMT+08:00

Rejecting a Meeting Invitation

rejectConfWithCallback:

API Description

This API is used to reject a meeting invitation.

Precautions

The actual service processing result is returned in the callback.

Method Definition

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

Parameter Description

None

Return Values

None

Sample Code
[[HWMSdk getOpenApi] rejectConfWithCallback:^(NSError * _Nullable error, id  _Nullable result) {
    if (error) {
        [HWMConsoleManager shareInstance].console = [NSString stringWithFormat:@"reject conf failed, error code: %ld", error.code];
    } else {
        [HWMConsoleManager shareInstance].console = @"reject conf success";
    }
}];