类 EaseCallKitConfig
- java.lang.Object
-
- io.agora.chat.callkit.general.EaseCallKitConfig
-
public class EaseCallKitConfig extends java.lang.ObjectAbout callKit user configuration options
-
-
构造器概要
构造器 构造器 说明 EaseCallKitConfig()The constructor
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 java.lang.StringgetAgoraAppId()Gets the agora appIdlonggetCallTimeOut()Gets the call timeoutjava.lang.StringgetDefaultHeadImage()Gets the defaultHeadImage path (Is the absolute path of the local file or URL)java.lang.StringgetRingFile()Gets the ring file pathjava.util.Map<java.lang.String,EaseCallUserInfo>getUserInfoMap()Gets the userInfobooleanisEnableRTCToken()Whether to enable the RTC TokenvoidsetAgoraAppId(java.lang.String agoraAppId)Sets agora appIdvoidsetCallTimeOut(long callTimeOut)Sets the call timeout (unit: MS , Default 30s)voidsetDefaultHeadImage(java.lang.String defaultHeadImage)Sets the defaultHeadImage (Is the absolute path of the local file or URL)voidsetEnableRTCToken(boolean enableRTCToken)Set Whether to enable the RTC Token (need the agora control to control true or false, the default is off)voidsetRingFile(java.lang.String ringFile)Sets the ring file pathvoidsetUserInfo(java.lang.String userName, EaseCallUserInfo userInfo)Sets the userInfovoidsetUserInfoMap(java.util.Map<java.lang.String,EaseCallUserInfo> userMap)Sets the userInfo
-
-
-
方法详细资料
-
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 see EaseCallUserInfo
-
setUserInfoMap
public void setUserInfoMap(java.util.Map<java.lang.String,EaseCallUserInfo> userMap)
Sets the userInfo- 参数:
userMap- userInfo,type of Mapkey:userId(AgoraChat userId) value:userInfo see EaseCallUserInfo
-
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
-
-