类 NEMeetingInterpretationSettings
java.lang.Object
com.netease.yunxin.kit.meeting.sdk.interpretation.NEMeetingInterpretationSettings
同声传译设置
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明boolean
addInterpreter
(String userId, String firstLang, String secondLang) 添加译员。boolean
addInterpreters
(List<NEMeetingInterpreter> interpreters) 添加多个译员。void
清空译员列表获取译员列表boolean
isEmpty()
译员列表是否为空boolean
removeInterpreter
(String userId) 移除译员
-
构造器详细资料
-
NEMeetingInterpretationSettings
public NEMeetingInterpretationSettings() -
NEMeetingInterpretationSettings
-
-
方法详细资料
-
addInterpreter
添加译员。如果已经译员已经存在,则会覆盖。- 参数:
userId
- 译员用户 IdfirstLang
- 译员第一语言secondLang
- 译员第二语言- 返回:
- true 添加成功
-
addInterpreters
添加多个译员。如果已经译员已经存在,则会覆盖。- 参数:
interpreters
- 译员列表- 返回:
- true 全部添加成功。如果有任何一个译员不合法,则返回 false
-
removeInterpreter
移除译员- 参数:
userId
- 译员用户 Id- 返回:
- true 移除成功
-
getInterpreterList
获取译员列表- 返回:
- 译员列表
-
clearInterpreterList
public void clearInterpreterList()清空译员列表 -
isEmpty
public boolean isEmpty()译员列表是否为空- 返回:
- true 为空
-