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

Accepting a Meeting Invitation

acceptConfWithParam:callback:

API Description

This API is used to accept a meeting invitation.

Precautions

The actual service processing result is returned in the callback.

Method Definition

- (void)acceptConfWithParam:(HWMUISDKAcceptConfParamModel *)param callback:(HWMSDKCompleteHandler)callback;

Parameter Description

Table 1 HWMUISDKAcceptConfParamModel description

Parameter

Mandatory

Type

Description

isAudioAccept

No

BOOL

Whether to answer the meeting as a voice call (supported only for instant video meetings).

Return Values

None

Sample Code

1
2
3
4
5
6
7
8
9
HWMUISDKAcceptConfParamModel *param = [[HWMUISDKAcceptConfParamModel alloc] init];
param.isAudioAccept = NO;
[[HWMSdk getOpenApi] acceptConfWithParam:param callback:^(NSError * _Nullable error, id  _Nullable result) {
    if (error) {
        [HWMConsoleManager shareInstance].console = [NSString stringWithFormat:@"accept conf failed, error code: %ld", error.code];
    } else {
        [HWMConsoleManager shareInstance].console = @"accept conf success";
    }
}];