华为云会议 MEETING-禁用提示音:DisableVoicePrompts

时间:2024-01-24 11:27:28

DisableVoicePrompts

接口描述

禁用提示音。

注意事项

  1. 该接口非必需调用,如不调用,则默认播放会中提示音。
  2. 该接口为同步接口,返回值以错误码形式返回

方法定义

1
SDKERR disableVoicePrompts(VoicePrompts voicePrompts);

参数描述

表1 参数说明

参数

是否必须

类型

描述

voicePrompts

VoicePrompts

语音提示信息。

表2 结构体VoicePrompts 参数说明

参数

是否必须

类型

描述

disableMutePrompt

boolean

是否禁用静音提示,true表示禁用,false表示不禁用。

返回值

示例代码

1
2
3
4
VoicePrompts voicePrompts = new VoicePrompts();
voicePrompts.setDisableMutePrompt(true);
SDKERR result = HWMBizSdk.getBizOpenApi().disableVoicePrompts(voicePrompts);
Log.i(TAG, "result code:" + result.getValue() + " desc:" + result.getDescription());
support.huaweicloud.com/sdkreference-meeting/toctopics/zh-cn_topic_0000001321120121.html