接口 NEMeetingKit


public interface NEMeetingKit
会议SDK全局接口,提供初始化、管理其他会议相关子服务的能力
  • 方法详细资料

    • getInstance

      static NEMeetingKit getInstance()
      获取会议SDK实例
    • initialize

      void initialize(android.content.Context context, NEMeetingKitConfig config, NECallback<Void> callback)
      初始化会议组件,只有在完成初始化后才能调用会议组件的其他接口。 可通过 NEMeetingKitConfig.appKey 初始化。也可以 通过企业代码NEMeetingKitConfig.corpCode或企业邮箱 NEMeetingKitConfig.corpEmail 进行初始化。
      参数:
      context - 上下文对象
      config - 初始化配置对象
      callback - 回调接口
    • initializeEx

      void initializeEx(android.content.Context context, NEMeetingKitConfig config, NECallback<NEMeetingCorpInfo> callback)
      初始化会议组件,只有在完成初始化后才能调用会议组件的其他接口。 可通过 NEMeetingKitConfig.appKey 初始化。也可以 通过企业代码NEMeetingKitConfig.corpCode或企业邮箱 NEMeetingKitConfig.corpEmail 进行初始化, 通过企业信息初始化成功后会返回 NEMeetingCorpInfo
      参数:
      context - 上下文对象
      config - 初始化配置对象
      callback - 回调接口
    • isInitialized

      boolean isInitialized()
      查询会议SDK当前是否已经完成初始化
    • loginWithNEMeeting

      @Deprecated void loginWithNEMeeting(String account, String password, NECallback<Void> callback)
      已过时。
      登录鉴权。在已登录状态下可以创建和加入会议,但在未登录状态下只能加入会议
      参数:
      account - 登录账号
      password - 登录密码
      callback - 回调接口,该回调不会返回额外的结果数据
    • login

      @Deprecated void login(String account, String token, NECallback<Void> callback)
      已过时。
      该方法已废弃,请使用 NEAccountService.loginByToken(String, String, NECallback) 方法
      登录鉴权。在已登录状态下可以创建和加入会议,但在未登录状态下只能加入会议
      参数:
      account - 登录账号
      token - 登录令牌
      callback - 回调接口,该回调不会返回额外的结果数据
    • tryAutoLogin

      @Deprecated void tryAutoLogin(NECallback<Void> callback)
      已过时。
      该方法已废弃,请使用 NEAccountService.tryAutoLogin(NECallback) 方法
      自动登录鉴权。
      参数:
      callback - 回调接口,该回调不会返回额外的结果数据
    • logout

      @Deprecated void logout(NECallback<Void> callback)
      已过时。
      该方法已废弃,请使用 NEAccountService.logout(NECallback) 方法
      登出当前已登录的账号
      参数:
      callback - 回调接口,该回调不会返回额外的结果数据
    • getMeetingService

      NEMeetingService getMeetingService()
      获取用于创建或加入会议的会议服务,如果未完成初始化,则返回为空
    • getAccountService

      NEAccountService getAccountService()
      获取用于登录登出、查询账号信息的账号服务,如果未完成初始化,则返回为空
    • getSettingsService

      NESettingsService getSettingsService()
      获取会议设置服务,如果未完成初始化,则返回为空
    • getPreMeetingService

      NEPreMeetingService getPreMeetingService()
      获取会前服务,如果未完成初始化,则返回为空
    • getScreenSharingService

      NEScreenSharingService getScreenSharingService()
      获取会议外投屏服务,如果未完成初始化,则返回为空
      返回:
      共享屏幕服务实例
    • getMeetingInviteService

      NEMeetingInviteService getMeetingInviteService()
      获取会议邀请服务,如果未完成初始化,则返回为空
    • getMeetingMessageChannelService

      NEMeetingMessageChannelService getMeetingMessageChannelService()
      获取会议消息通知服务,如果未完成初始化,则返回为空
    • getContactsService

      NEContactsService getContactsService()
      获取通讯录服务,如果未完成初始化,则返回为空
    • getFeedbackService

      NEFeedbackService getFeedbackService()
      获取意见反馈服务,如果未完成初始化,则返回为空
    • addAuthListener

      @Deprecated void addAuthListener(NEAuthListener authListener)
      已过时。
      该方法已废弃,请使用 NEAccountService.addListener(NEAccountServiceListener) 接口的实现类添加监听
      添加登录状态监听实例
      参数:
      authListener - 要添加的监听实例
    • removeAuthListener

      @Deprecated void removeAuthListener(NEAuthListener authListener)
      已过时。
      该方法已废弃,请使用 NEAccountService.removeListener(NEAccountServiceListener) 接口的实现类移除监听
      移除登录状态监听实例
      参数:
      authListener - 要移除的监听实例
    • addGlobalEventListener

      void addGlobalEventListener(NEGlobalEventListener listener)
      添加全局事件监听器
      参数:
      listener - 全局事件监听器
    • removeGlobalEventListener

      void removeGlobalEventListener(NEGlobalEventListener listener)
      移除全局事件监听器
      参数:
      listener - 全局事件监听器
    • switchLanguage

      void switchLanguage(NEMeetingLanguage language, NECallback<Void> callback)
      切换语言。
      参数:
      language - 目标语言,类型为NEMeetingLanguage。如果设置为空,则使用当前系统语言。
      callback - 回调接口,该回调不会返回额外的结果数据
    • getSDKLogPath

      void getSDKLogPath(NECallback<String> callback)
      获取组件日志目录
      参数:
      callback - 回调接口,该回调会返回本地日志文件路径
    • getAppNoticeTips

      void getAppNoticeTips(NECallback<NEMeetingAppNoticeTips> callback)
      获取公告提示