Enum RCCallPlusCode
-
- All Implemented Interfaces:
public enum RCCallPlusCode
-
-
Enum Constant Summary
Enum Constants Enum Constant Description UNKNOWN
未知错误(状态码 -1)
SUCCESS
成功(状态码 0)
PARAMETER_ERROR
调用函数时,方法入参的参数错误 (状态码 80001)
ON_CALLING
当前用户正在通话,无法发起或加入新呼叫 (状态码 80002)
NOT_IN_CALL
当前呼叫未建立,发生在当前用户没有正在进行中的通话时,调用了通话相关的函数;因为没有正在进行的通话,该函数无法正常执行 (状态码 80003)
MEDIA_TYPE_INVALID
不允许切换通话媒体类型 (状态码 80004)
RTC_SERVICE_UNAVAILABLE
开通的音视频服务没有及时生效或音视频服务已关闭 (状态码 80006)
USER_LIST_INVALID
调用函数时,传入的用户列表为空错误 (状态码 80007)
CALL_ID_INVALID
调用函数时,传入的通话Id为空错误 (状态码 80008)
TRANSACTION_ID_INVALID
调用函数时,传入的事务Id为空错误。(状态码 80009)
该错误由 replyChangeMediaType、cancelChangeMediaType 函数抛出
USER_ID_INVALID
调用函数时,传入的用户Id为空错误 (状态码 80010)
SINGLE_CALL_NOT_SUPPORT_MULTI_PERSON
发起单人呼叫时,人员列表中只能有一个人 (状态码 80011)
SDK_NOT_INITIALIZED
SDK未初始化错误。(状态码 80200)
调用方法前需要先调用方法 init 完成初始化
EXECUTION_METHOD_INTERRUPTED
调用方法后,如果内部请求失败会重试。方法重试过程中因其他函数调用导致本函数执行终止 (状态码 80201)
CALL_ABRUPT_HANGUP
快速调用 startCall )} 和 hangup 方法时,已经发起的通话被主动挂断 (状态码 80202)*
INTERNAL_ERROR
调用函数时,SDK内部处理异常。出现该情况时,需要获取到详细日志排查分析 (状态码 80203)
CAMERA_SWITCH_ERROR
切换摄像头失败 (状态码 80005)
-
Method Summary
Modifier and Type Method Description static RCCallPlusCode
valueOf(int value)
static RCCallPlusCode
valueOf(RTCErrorCode code)
String
toString()
static Array<RCCallPlusCode>
values()
Returns an array containing the constants of this enum type, in the order they're declared. static RCCallPlusCode
valueOf(String name)
Returns the enum constant of this type with the specified name. String
getReason()
int
getValue()
-
-
Method Detail
-
valueOf
static RCCallPlusCode valueOf(int value)
-
valueOf
static RCCallPlusCode valueOf(RTCErrorCode code)
-
toString
String toString()
-
values
static Array<RCCallPlusCode> values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.
- Returns:
an array containing the constants of this enum type, in the order they're declared
-
valueOf
static RCCallPlusCode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
- Returns:
the enum constant with the specified name
-
getReason
String getReason()
-
getValue
int getValue()
-
-
-
-