Enum RongCallCommon.CallDisconnectedReason
-
- All Implemented Interfaces:
public enum RongCallCommon.CallDisconnectedReason
通话中断状态码
-
-
Field Summary
Fields Modifier and Type Field Description public int
value
-
Enum Constant Summary
Enum Constants Enum Constant Description CANCEL
己方取消已发出的通话请求(状态码 1)
REJECT
己方拒绝收到的通话请求(状态码 2)
HANGUP
己方挂断(状态码 3)
BUSY_LINE
己方忙碌(状态码 4)
NO_RESPONSE
己方未接听(状态码 5)
ENGINE_UNSUPPORTED
当前引擎不支持(状态码 6)
NETWORK_ERROR
己方网络出错(状态码 7)
INIT_VIDEO_ERROR
己方摄像头初始化错误,可能是没有打开使用摄像头权限(状态码 8)
OTHER_DEVICE_HAD_ACCEPTED
其他端已经接听(状态码 9)
REMOTE_CANCEL
对方取消已发出的通话请求(状态码 11)
REMOTE_REJECT
对方拒绝收到的通话请求(状态码 12)
REMOTE_HANGUP
通话过程对方挂断(状态码 13)
REMOTE_BUSY_LINE
对方忙碌(状态码 14)
REMOTE_NO_RESPONSE
对方未接听(状态码 15)
REMOTE_ENGINE_UNSUPPORTED
对方引擎不支持(状态码 16)
REMOTE_NETWORK_ERROR
对方网络错误(状态码 17)
SERVICE_DISCONNECTED
im ipc服务已断开(状态码 18)
REJECTED_BY_BLACKLIST
已被对方加入黑名单(状态码 19)
KICKED_BY_SERVER
被服务端踢出(状态码 21)
SERVICE_NOT_OPENED
服务未开通,如开通服务后又关闭的情况(状态码 22)
-
Method Summary
Modifier and Type Method Description static RongCallCommon.CallDisconnectedReason
valueOf(int value)
static Array<RongCallCommon.CallDisconnectedReason>
values()
Returns an array containing the constants of this enum type, in the order they're declared. static RongCallCommon.CallDisconnectedReason
valueOf(String name)
Returns the enum constant of this type with the specified name. int
getValue()
-
-
Method Detail
-
valueOf
static RongCallCommon.CallDisconnectedReason valueOf(int value)
-
values
static Array<RongCallCommon.CallDisconnectedReason> 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 RongCallCommon.CallDisconnectedReason 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
-
getValue
int getValue()
-
-
-
-