枚举

enum  JCSDK.JCClient.JCClientReason {
  JCSDK.JCClient.JCClientReason.None, JCSDK.JCClient.JCClientReason.SDKNotInit, JCSDK.JCClient.JCClientReason.InvalidParam, JCSDK.JCClient.JCClientReason.CallFucntionError,
  JCSDK.JCClient.JCClientReason.StateCannotLogin, JCSDK.JCClient.JCClientReason.TimeOut, JCSDK.JCClient.JCClientReason.NetWork, JCSDK.JCClient.JCClientReason.AppKey,
  JCSDK.JCClient.JCClientReason.Auth, JCSDK.JCClient.JCClientReason.NoUser, JCSDK.JCClient.JCClientReason.ServerLogout, JCSDK.JCClient.JCClientReason.OtherDeviceLogined,
  JCSDK.JCClient.JCClientReason.LocalRequest, JCSDK.JCClient.JCClientReason.SendMessage, JCSDK.JCClient.JCClientReason.ServerBusy, JCSDK.JCClient.JCClientReason.ServerNotReach,
  JCSDK.JCClient.JCClientReason.ServerForbidden, JCSDK.JCClient.JCClientReason.ServerUnavaliable, JCSDK.JCClient.JCClientReason.DnsQuery, JCSDK.JCClient.JCClientReason.Internal,
  JCSDK.JCClient.JCClientReason.NoResource, JCSDK.JCClient.JCClientReason.NoNonce, JCSDK.JCClient.JCClientReason.InvalidAuthCode, JCSDK.JCClient.JCClientReason.TokenMismatch,
  JCSDK.JCClient.JCClientReason.TokenSizeInvalid, JCSDK.JCClient.JCClientReason.TokenSecretNotFound, JCSDK.JCClient.JCClientReason.TokenAnalysisError, JCSDK.JCClient.JCClientReason.TokenVersignAppkeyError,
  JCSDK.JCClient.JCClientReason.TokenAccountIdMismatch, JCSDK.JCClient.JCClientReason.TokenExpired, JCSDK.JCClient.JCClientReason.Other = 100
}
 
enum  JCSDK.JCCall.JCCallReason {
  JCSDK.JCCall.JCCallReason.None, JCSDK.JCCall.JCCallReason.NotLogin, JCSDK.JCCall.JCCallReason.CallFunctionError, JCSDK.JCCall.JCCallReason.TimeOut,
  JCSDK.JCCall.JCCallReason.NetWorkError, JCSDK.JCCall.JCCallReason.CallOverLimit, JCSDK.JCCall.JCCallReason.TermBySelf, JCSDK.JCCall.JCCallReason.AnswerFail,
  JCSDK.JCCall.JCCallReason.Busy, JCSDK.JCCall.JCCallReason.Decline, JCSDK.JCCall.JCCallReason.UserOffline, JCSDK.JCCall.JCCallReason.NotFound,
  JCSDK.JCCall.JCCallReason.RejectVideoWhenHasCall, JCSDK.JCCall.JCCallReason.RejectWhenHasVideoCall, JCSDK.JCCall.JCCallReason.SessionTimeout, JCSDK.JCCall.JCCallReason.Other = 100
}
 
enum  JCSDK.JCMediaChannel.JCMediaChannelReason {
  JCSDK.JCMediaChannel.JCMediaChannelReason.None, JCSDK.JCMediaChannel.JCMediaChannelReason.NotLogin, JCSDK.JCMediaChannel.JCMediaChannelReason.TimeOut, JCSDK.JCMediaChannel.JCMediaChannelReason.NewWorkError,
  JCSDK.JCMediaChannel.JCMediaChannelReason.CallFunctionError, JCSDK.JCMediaChannel.JCMediaChannelReason.AlreadyJoined, JCSDK.JCMediaChannel.JCMediaChannelReason.Kicked, JCSDK.JCMediaChannel.JCMediaChannelReason.Offline,
  JCSDK.JCMediaChannel.JCMediaChannelReason.Quit, JCSDK.JCMediaChannel.JCMediaChannelReason.Over, JCSDK.JCMediaChannel.JCMediaChannelReason.Full, JCSDK.JCMediaChannel.JCMediaChannelReason.InvalidPassword,
  JCSDK.JCMediaChannel.JCMediaChannelReason.ServerError, JCSDK.JCMediaChannel.JCMediaChannelReason.InvalidParam, JCSDK.JCMediaChannel.JCMediaChannelReason.Other = 100
}
 

详细描述

枚举类型说明

◆ JCCallReason

通话结束错误原因

枚举值
None 

无异常

NotLogin 

未登录

CallFunctionError 

函数调用错误

TimeOut 

超时

NetWorkError 

网络异常

CallOverLimit 

超出通话数限制

TermBySelf 

自己挂断

AnswerFail 

应答失败

Busy 

Decline 

拒接

UserOffline 

用户不在线

NotFound 

无此用户

RejectVideoWhenHasCall 

已有通话拒绝视频来电

RejectWhenHasVideoCall 

已有视频通话拒绝来电

SessionTimeout 

通话因某端心跳超时挂断

Other 

其他错误

◆ JCClientReason

登录错误原因枚举

枚举值
None 

正常

SDKNotInit 

sdk 未初始化

InvalidParam 

无效的参数

CallFucntionError 

函数调用失败

StateCannotLogin 

当前状态无法再次登录

TimeOut 

登录超时

NetWork 

网络异常

AppKey 

appkey 错误

Auth 

账号密码错误

NoUser 

无该用户

ServerLogout 

被强制登出

OtherDeviceLogined 

登录其他设备

LocalRequest 

本地请求失败

SendMessage 

发消息失败

ServerBusy 

服务器忙

ServerNotReach 

服务器不可达

ServerForbidden 

服务器拒绝(无权限访问)

ServerUnavaliable 

服务器不可用

DnsQuery 

DNS 查询错误

Internal 

服务器内部错误

NoResource 

无资源

NoNonce 

没有回应验证码

InvalidAuthCode 

无效验证码

TokenMismatch 

Token 不匹配

TokenSizeInvalid 

Token 长度无效

TokenSecretNotFound 

Token 未携带 AppSecret

TokenAnalysisError 

Token 解析错误

TokenVersignAppkeyError 

Token 携带的 Appkey 校验错误

TokenAccountIdMismatch 

Token 与账号不匹配

TokenExpired 

Token 已过期

Other 

其他错误

◆ JCMediaChannelReason

频道加入失败和离开的原因

枚举值
None 

正常

NotLogin 

未登录

TimeOut 

超时

NewWorkError 

网络异常

CallFunctionError 

函数调用失败

AlreadyJoined 

已加入

Kicked 

被踢

Offline 

掉线

Quit 

主动离开

Over 

频道关闭

Full 

成员满

InvalidPassword 

密码无效

ServerError 

调用服务器接口异常

InvalidParam 

参数异常

Other 

其他错误

最后更新时间: 2023/2/24 13:43:42