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

Accepting a Meeting Invitation

acceptConf:callback:

API Description

This API is used to accept a meeting invitation.

Precautions

The actual service processing result is returned in the corresponding callback function.

Method Definition

1
- (void)acceptConf:(HWMAcceptConfParam *)param callback:(_Nonnull HWMSDKCompleteHandler)callback;

Parameter Description

Table 1 HWMAcceptConfParam description

Parameter

Mandatory

Type

Description

isAudioAccept

No

BOOL

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

isSpeakerOff

No

BOOL

Whether to disable the speakers. By default, the speakers are enabled.

Return Values

None

Sample Code

HWMAcceptConfParam *param = [[HWMAcceptConfParam alloc] init];
param.isAudioAccept = NO;
param.isSpeakerOff = NO;
[[HWMSdk getOpenApi] acceptConf:param callback:^(NSError * _Nullable error, id  _Nullable result) {
    if (error) {
        [UIUtil showMessageWithError:error];
    }
}];