Updated on 2024-07-30 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, meeting prompt tones are enabled by default.
  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];