类 EaseCallKitConfig


  • public class EaseCallKitConfig
    extends java.lang.Object
    About callKit user configuration options
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      java.lang.String getAgoraAppId()
      Gets the agora appId
      long getCallTimeOut()
      Gets the call timeout
      java.lang.String getDefaultHeadImage()
      Gets the defaultHeadImage path (Is the absolute path of the local file or URL)
      java.lang.String getRingFile()
      Gets the ring file path
      java.util.Map<java.lang.String,​EaseCallUserInfo> getUserInfoMap()
      Gets the userInfo
      boolean isEnableRTCToken()
      Whether to enable the RTC Token
      void setAgoraAppId​(java.lang.String agoraAppId)
      Sets agora appId
      void setCallTimeOut​(long callTimeOut)
      Sets the call timeout (unit: MS , Default 30s)
      void setDefaultHeadImage​(java.lang.String defaultHeadImage)
      Sets the defaultHeadImage (Is the absolute path of the local file or URL)
      void setEnableRTCToken​(boolean enableRTCToken)
      Set Whether to enable the RTC Token (need the agora control to control true or false, the default is off)
      void setRingFile​(java.lang.String ringFile)
      Sets the ring file path
      void setUserInfo​(java.lang.String userName, EaseCallUserInfo userInfo)
      Sets the userInfo
      void setUserInfoMap​(java.util.Map<java.lang.String,​EaseCallUserInfo> userMap)
      Sets the userInfo
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • EaseCallKitConfig

        public EaseCallKitConfig()
        The constructor
    • 方法详细资料

      • getDefaultHeadImage

        public java.lang.String getDefaultHeadImage()
        Gets the defaultHeadImage path (Is the absolute path of the local file or URL)
        返回:
        the defaultHeadImage path (Is the absolute path of the local file or URL)
      • setDefaultHeadImage

        public void setDefaultHeadImage​(java.lang.String defaultHeadImage)
        Sets the defaultHeadImage (Is the absolute path of the local file or URL)
        参数:
        defaultHeadImage - the defaultHeadImage path
      • getUserInfoMap

        public java.util.Map<java.lang.String,​EaseCallUserInfo> getUserInfoMap()
        Gets the userInfo
        返回:
        userInfo, type of Map key:userId(AgoraChat userId) value:userInfo seeEaseCallUserInfo
      • setUserInfoMap

        public void setUserInfoMap​(java.util.Map<java.lang.String,​EaseCallUserInfo> userMap)
        Sets the userInfo
        参数:
        userMap - userInfo,type of Map key:userId(AgoraChat userId) value:userInfo seeEaseCallUserInfo
      • setUserInfo

        public void setUserInfo​(java.lang.String userName,
                                EaseCallUserInfo userInfo)
        Sets the userInfo
        参数:
        userName - userId(AgoraChat userId)
        userInfo - userInfo,type of EaseCallUserInfo,seeEaseCallUserInfo
      • getRingFile

        public java.lang.String getRingFile()
        Gets the ring file path
        返回:
        the ring file path (Local file absolute path)
      • setRingFile

        public void setRingFile​(java.lang.String ringFile)
        Sets the ring file path
        参数:
        ringFile - ring file path (Local file absolute path)
      • getCallTimeOut

        public long getCallTimeOut()
        Gets the call timeout
        返回:
        the call timeout
      • setCallTimeOut

        public void setCallTimeOut​(long callTimeOut)
        Sets the call timeout (unit: MS , Default 30s)
        参数:
        callTimeOut - the call timeout
      • getAgoraAppId

        public java.lang.String getAgoraAppId()
        Gets the agora appId
        返回:
        the agora appId
      • setAgoraAppId

        public void setAgoraAppId​(java.lang.String agoraAppId)
        Sets agora appId
        参数:
        agoraAppId - agora appId
      • isEnableRTCToken

        public boolean isEnableRTCToken()
        Whether to enable the RTC Token
        返回:
        Whether to enable the RTC Token (default) false:disable true:enable
      • setEnableRTCToken

        public void setEnableRTCToken​(boolean enableRTCToken)
        Set Whether to enable the RTC Token (need the agora control to control true or false, the default is off)
        参数:
        enableRTCToken - Whether to enable the RTC Token (default) false:disable true:enable