类 NEMeetingInterpretationSettings

java.lang.Object
com.netease.yunxin.kit.meeting.sdk.interpretation.NEMeetingInterpretationSettings

public class NEMeetingInterpretationSettings extends Object
同声传译设置
  • 构造器详细资料

    • NEMeetingInterpretationSettings

      public NEMeetingInterpretationSettings()
    • NEMeetingInterpretationSettings

      public NEMeetingInterpretationSettings(List<NEMeetingInterpreter> interpreters)
  • 方法详细资料

    • addInterpreter

      public boolean addInterpreter(String userId, String firstLang, String secondLang)
      添加译员。如果已经译员已经存在,则会覆盖。
      参数:
      userId - 译员用户 Id
      firstLang - 译员第一语言
      secondLang - 译员第二语言
      返回:
      true 添加成功
    • addInterpreters

      public boolean addInterpreters(List<NEMeetingInterpreter> interpreters)
      添加多个译员。如果已经译员已经存在,则会覆盖。
      参数:
      interpreters - 译员列表
      返回:
      true 全部添加成功。如果有任何一个译员不合法,则返回 false
    • removeInterpreter

      public boolean removeInterpreter(String userId)
      移除译员
      参数:
      userId - 译员用户 Id
      返回:
      true 移除成功
    • getInterpreterList

      public List<NEMeetingInterpreter> getInterpreterList()
      获取译员列表
      返回:
      译员列表
    • clearInterpreterList

      public void clearInterpreterList()
      清空译员列表
    • isEmpty

      public boolean isEmpty()
      译员列表是否为空
      返回:
      true 为空