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

Disabling Prompt Tones

disableVoicePrompts:

API Description

This API is used to disable meeting prompt tones.

Precautions

  1. This API is optional. If it is not called, the default mode is used.
  2. The return value only indicates whether the API is successfully called.

Method Definition

1
- (HWMSDKERR)disableVoicePrompts:(HWMSDKVoicePromptsModel *)voicePrompts;

Parameter Description

Table 1 HWMSDKVoicePromptsModel description

Parameter

Mandatory

Type

Description

disableMutePrompt

Yes

BOOL

Prompt tone played when the host mutes a participant.

Return Values

Whether the API is successfully called.

Sample Code

1
2
3
HWMSDKVoicePromptsModel * model = [[HWMSDKVoicePromptsModel alloc] init];
model.disableMutePrompt = YES;
[[HWMBizSdk getBizOpenApi] disableVoicePrompts:model];