Enum RongCallCommon.CallDisconnectedReason
-
- All Implemented Interfaces:
public enum RongCallCommon.CallDisconnectedReason通话中断状态码
-
-
Field Summary
Fields Modifier and Type Field Description public intvalue
-
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_DISCONNECTEDim ipc服务已断开(状态码 18)
REJECTED_BY_BLACKLIST已被对方加入黑名单(状态码 19)
KICKED_BY_SERVER被服务端踢出(状态码 21)
SERVICE_NOT_OPENED服务未开通,如开通服务后又关闭的情况(状态码 22)
-
Method Summary
Modifier and Type Method Description static RongCallCommon.CallDisconnectedReasonvalueOf(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.CallDisconnectedReasonvalueOf(String name)Returns the enum constant of this type with the specified name. intgetValue()-
-
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()
-
-
-
-