Package com.zego.zegoavkit2.error
Class ZegoError
- java.lang.Object
-
- com.zego.zegoavkit2.error.ZegoError
-
public class ZegoError extends java.lang.Object
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ZegoError()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getErrorMsg(int error)
获取error msgstatic boolean
isDNSResolveError(int error)
是否DNSResolve错误static boolean
isHttpProtocolError(int error)
是否Http协议错误static boolean
isInitSDKError(int error)
是否初始化SDK错误static boolean
isLiveRoomError(int error)
是否访问LiveRoom服务错误static boolean
isLogicServerNetWrokError(int error)
是否逻辑服务器连接失败错误static boolean
isManualKickoutError(int error)
是否该账户被手动踢出错误static boolean
isMediaServerNetWorkError(int error)
是否媒体服务器连接失败错误static boolean
isMixStreamNotExistError(int error)
是否混流的流不存在错误static boolean
isMultiLoginError(int error)
是否该账户多点登录被踢出错误static boolean
isNetworkUnreachError(int error)
是否Network不可达错误static boolean
isNotLoginError(int error)
是否未登录错误static boolean
isPlayDeniedError(int error)
是否拉流Denied错误static boolean
isPlayForbidError(int error)
是否禁止拉流错误static boolean
isPlayStreamNotExistError(int error)
是否拉的流不存在错误static boolean
isPublishBadNameError(int error)
是否推流重复流名错误static boolean
isPublishDeniedError(int error)
是否推流Denied错误static boolean
isPublishForbidError(int error)
是否禁止推流错误static boolean
isPublishStopError(int error)
是否停止推流错误static boolean
isReqFrequencyLimitError(int error)
是否超过服务请求频率错误static boolean
isRoomSessionError(int error)
是否房间会话错误
-
-
-
Field Detail
-
kOK
public static final int kOK
- See Also:
- Constant Field Values
-
kEnd
public static final int kEnd
- See Also:
- Constant Field Values
-
kNoneAppIdError
public static final int kNoneAppIdError
- See Also:
- Constant Field Values
-
kNotLoginError
public static final int kNotLoginError
- See Also:
- Constant Field Values
-
kPublishBadNameError
public static final int kPublishBadNameError
- See Also:
- Constant Field Values
-
kInvalidParamError
public static final int kInvalidParamError
- See Also:
- Constant Field Values
-
kInvalidChannelError
public static final int kInvalidChannelError
- See Also:
- Constant Field Values
-
kNullPointerError
public static final int kNullPointerError
- See Also:
- Constant Field Values
-
kNoFreeChannelError
public static final int kNoFreeChannelError
- See Also:
- Constant Field Values
-
kFormatUrlError
public static final int kFormatUrlError
- See Also:
- Constant Field Values
-
kUnmatchStreamIDError
public static final int kUnmatchStreamIDError
- See Also:
- Constant Field Values
-
kUnmatchSeqError
public static final int kUnmatchSeqError
- See Also:
- Constant Field Values
-
kNoneSeqError
public static final int kNoneSeqError
- See Also:
- Constant Field Values
-
kUnmatchStateError
public static final int kUnmatchStateError
- See Also:
- Constant Field Values
-
kRedirectError
public static final int kRedirectError
- See Also:
- Constant Field Values
-
kOutOfMemeryError
public static final int kOutOfMemeryError
- See Also:
- Constant Field Values
-
kStartThreadError
public static final int kStartThreadError
- See Also:
- Constant Field Values
-
kNotMallocEnoughMemError
public static final int kNotMallocEnoughMemError
- See Also:
- Constant Field Values
-
kStartRequestError
public static final int kStartRequestError
- See Also:
- Constant Field Values
-
kStartUpdateStreamInfoError
public static final int kStartUpdateStreamInfoError
- See Also:
- Constant Field Values
-
kSDKNotInit
public static final int kSDKNotInit
- See Also:
- Constant Field Values
-
kNetworkNotConnectError
public static final int kNetworkNotConnectError
- See Also:
- Constant Field Values
-
kNetworkDnsResolveError
public static final int kNetworkDnsResolveError
- See Also:
- Constant Field Values
-
kEngineCreateError
public static final int kEngineCreateError
- See Also:
- Constant Field Values
-
kEngineStatusError
public static final int kEngineStatusError
- See Also:
- Constant Field Values
-
kEngineStartError
public static final int kEngineStartError
- See Also:
- Constant Field Values
-
kDeniedMaxRetryError
public static final int kDeniedMaxRetryError
- See Also:
- Constant Field Values
-
kDeniedDisableSwitchLineError
public static final int kDeniedDisableSwitchLineError
- See Also:
- Constant Field Values
-
kEngineNoPlayDataError
public static final int kEngineNoPlayDataError
- See Also:
- Constant Field Values
-
kEngineNoPublishDataError
public static final int kEngineNoPublishDataError
- See Also:
- Constant Field Values
-
kEnginePublishNotReadyError
public static final int kEnginePublishNotReadyError
- See Also:
- Constant Field Values
-
kEngineUnknownError
public static final int kEngineUnknownError
- See Also:
- Constant Field Values
-
kEngineConnectServerError
public static final int kEngineConnectServerError
- See Also:
- Constant Field Values
-
kEngineRtmpHandshakeError
public static final int kEngineRtmpHandshakeError
- See Also:
- Constant Field Values
-
kEngineRtmpAppConnectError
public static final int kEngineRtmpAppConnectError
- See Also:
- Constant Field Values
-
kEngineRtmpCreateStreamError
public static final int kEngineRtmpCreateStreamError
- See Also:
- Constant Field Values
-
kEngineRtmpPublishBadNameError
public static final int kEngineRtmpPublishBadNameError
- See Also:
- Constant Field Values
-
kEngineServerDisconnectError
public static final int kEngineServerDisconnectError
- See Also:
- Constant Field Values
-
kEngineRtpConnectServerError
public static final int kEngineRtpConnectServerError
- See Also:
- Constant Field Values
-
kEngineRtpHelloTimeoutError
public static final int kEngineRtpHelloTimeoutError
- See Also:
- Constant Field Values
-
kEngineRtpCreateSessionTimeoutError
public static final int kEngineRtpCreateSessionTimeoutError
- See Also:
- Constant Field Values
-
kEngineRtpCreateSessionFailError
public static final int kEngineRtpCreateSessionFailError
- See Also:
- Constant Field Values
-
kEngineRtpPlayOrPublishTimeoutError
public static final int kEngineRtpPlayOrPublishTimeoutError
- See Also:
- Constant Field Values
-
kEngineRtpPlayOrPublishDeniedError
public static final int kEngineRtpPlayOrPublishDeniedError
- See Also:
- Constant Field Values
-
kEngineRtpTimeoutError
public static final int kEngineRtpTimeoutError
- See Also:
- Constant Field Values
-
kEngineRtpDecryptError
public static final int kEngineRtpDecryptError
- See Also:
- Constant Field Values
-
kEngineRtpDecryptNotSupport
public static final int kEngineRtpDecryptNotSupport
- See Also:
- Constant Field Values
-
kEngineRtpSockError
public static final int kEngineRtpSockError
- See Also:
- Constant Field Values
-
kEngineHttpFlvProtocolError
public static final int kEngineHttpFlvProtocolError
- See Also:
- Constant Field Values
-
kEngineHttpFlvHttpCodeError
public static final int kEngineHttpFlvHttpCodeError
- See Also:
- Constant Field Values
-
kEngineHttpFlvParseFlvError
public static final int kEngineHttpFlvParseFlvError
- See Also:
- Constant Field Values
-
kEngineHttpFlvServerDisconnectError
public static final int kEngineHttpFlvServerDisconnectError
- See Also:
- Constant Field Values
-
kEngineHttpFlvRedirectError
public static final int kEngineHttpFlvRedirectError
- See Also:
- Constant Field Values
-
kEngineStartDumpAudioDataFailed
public static final int kEngineStartDumpAudioDataFailed
- See Also:
- Constant Field Values
-
kEngineAlreadyStartDumpDataError
public static final int kEngineAlreadyStartDumpDataError
- See Also:
- Constant Field Values
-
kEngineNoDumpDataError
public static final int kEngineNoDumpDataError
- See Also:
- Constant Field Values
-
kEngineCreateDumpDataFolderError
public static final int kEngineCreateDumpDataFolderError
- See Also:
- Constant Field Values
-
kEngineDumpDataExceedMaxSizeError
public static final int kEngineDumpDataExceedMaxSizeError
- See Also:
- Constant Field Values
-
kPlayStreamNotExistError
public static final int kPlayStreamNotExistError
- See Also:
- Constant Field Values
-
kMediaServerForbidError
public static final int kMediaServerForbidError
- See Also:
- Constant Field Values
-
kMediaServerPublishBadNameError
public static final int kMediaServerPublishBadNameError
- See Also:
- Constant Field Values
-
kMediaServerStopPublishError
public static final int kMediaServerStopPublishError
- See Also:
- Constant Field Values
-
kUploadLogFreqLimited
public static final int kUploadLogFreqLimited
- See Also:
- Constant Field Values
-
kUploadLogIllegalParams
public static final int kUploadLogIllegalParams
- See Also:
- Constant Field Values
-
kUploadLogAuthFailure
public static final int kUploadLogAuthFailure
- See Also:
- Constant Field Values
-
kUploadLogNoUploadFile
public static final int kUploadLogNoUploadFile
- See Also:
- Constant Field Values
-
kUploadLogSaveFileFailed
public static final int kUploadLogSaveFileFailed
- See Also:
- Constant Field Values
-
kUploadLogForbidUpload
public static final int kUploadLogForbidUpload
- See Also:
- Constant Field Values
-
kUploadLogInBlackList
public static final int kUploadLogInBlackList
- See Also:
- Constant Field Values
-
kUploadLogStartSendFail
public static final int kUploadLogStartSendFail
- See Also:
- Constant Field Values
-
kUploadLogNoPackError
public static final int kUploadLogNoPackError
- See Also:
- Constant Field Values
-
kUploadLogNetworkError
public static final int kUploadLogNetworkError
- See Also:
- Constant Field Values
-
kUploadLogUnknownServiceError
public static final int kUploadLogUnknownServiceError
- See Also:
- Constant Field Values
-
kUploadLogInvalidTask
public static final int kUploadLogInvalidTask
- See Also:
- Constant Field Values
-
kUploadLogInvalidTaskConfig
public static final int kUploadLogInvalidTaskConfig
- See Also:
- Constant Field Values
-
kUploadLogUploadTimeout
public static final int kUploadLogUploadTimeout
- See Also:
- Constant Field Values
-
kAccessDeniedError
public static final int kAccessDeniedError
- See Also:
- Constant Field Values
-
kConfigDecryptError
public static final int kConfigDecryptError
- See Also:
- Constant Field Values
-
kConfigOfflineError
public static final int kConfigOfflineError
- See Also:
- Constant Field Values
-
kConfigDomainError
public static final int kConfigDomainError
- See Also:
- Constant Field Values
-
kConfigMediaNetworkNoneError
public static final int kConfigMediaNetworkNoneError
- See Also:
- Constant Field Values
-
kConfigMediaNetworkNoUrlError
public static final int kConfigMediaNetworkNoUrlError
- See Also:
- Constant Field Values
-
kConfigServerCouldntConnectError
public static final int kConfigServerCouldntConnectError
- See Also:
- Constant Field Values
-
kConfigServerTimeoutError
public static final int kConfigServerTimeoutError
- See Also:
- Constant Field Values
-
kConfigEndlessRedirectError
public static final int kConfigEndlessRedirectError
- See Also:
- Constant Field Values
-
kConfigServerSslCaCertError
public static final int kConfigServerSslCaCertError
- See Also:
- Constant Field Values
-
kDispatchServerInvalidError
public static final int kDispatchServerInvalidError
- See Also:
- Constant Field Values
-
kDispatchNoIpError
public static final int kDispatchNoIpError
- See Also:
- Constant Field Values
-
kDispatchServerCouldntConnectError
public static final int kDispatchServerCouldntConnectError
- See Also:
- Constant Field Values
-
kDispatchServerTimeoutError
public static final int kDispatchServerTimeoutError
- See Also:
- Constant Field Values
-
kDispatchServerSslCaCertError
public static final int kDispatchServerSslCaCertError
- See Also:
- Constant Field Values
-
kDispatchEmptyPublishIpsError
public static final int kDispatchEmptyPublishIpsError
- See Also:
- Constant Field Values
-
kDispatchEmptyPlayIpsError
public static final int kDispatchEmptyPlayIpsError
- See Also:
- Constant Field Values
-
kDispatchStreamNotExistError
public static final int kDispatchStreamNotExistError
- See Also:
- Constant Field Values
-
kDispatchPlayAuthFailedError
public static final int kDispatchPlayAuthFailedError
- See Also:
- Constant Field Values
-
kDispatchAgentTimeoutError
public static final int kDispatchAgentTimeoutError
- See Also:
- Constant Field Values
-
kDispatchAgentDroppedError
public static final int kDispatchAgentDroppedError
- See Also:
- Constant Field Values
-
kDispatchAgentSignatureError
public static final int kDispatchAgentSignatureError
- See Also:
- Constant Field Values
-
kLogicServerNoUrlError
public static final int kLogicServerNoUrlError
- See Also:
- Constant Field Values
-
kLogicServerCouldntConnectError
public static final int kLogicServerCouldntConnectError
- See Also:
- Constant Field Values
-
kLogicServerTimeoutError
public static final int kLogicServerTimeoutError
- See Also:
- Constant Field Values
-
kLogicServerSslCaCertError
public static final int kLogicServerSslCaCertError
- See Also:
- Constant Field Values
-
kLoginAgentTimeoutError
public static final int kLoginAgentTimeoutError
- See Also:
- Constant Field Values
-
kLoginAgentDroppedError
public static final int kLoginAgentDroppedError
- See Also:
- Constant Field Values
-
kLiveRoomRequestParamError
public static final int kLiveRoomRequestParamError
- See Also:
- Constant Field Values
-
kLiveRoomHBTimeoutError
public static final int kLiveRoomHBTimeoutError
- See Also:
- Constant Field Values
-
kLiveRoomNoPushServerAddrError
public static final int kLiveRoomNoPushServerAddrError
- See Also:
- Constant Field Values
-
kLiveRoomNoPushCryptoKeyError
public static final int kLiveRoomNoPushCryptoKeyError
- See Also:
- Constant Field Values
-
kLiveRoomNoPushTokenError
public static final int kLiveRoomNoPushTokenError
- See Also:
- Constant Field Values
-
kLiveRoomCouldntConnectError
public static final int kLiveRoomCouldntConnectError
- See Also:
- Constant Field Values
-
kLiveRoomTimeoutError
public static final int kLiveRoomTimeoutError
- See Also:
- Constant Field Values
-
kLiveRoomSslCaCertError
public static final int kLiveRoomSslCaCertError
- See Also:
- Constant Field Values
-
kLiveRoomInvalidRspError
public static final int kLiveRoomInvalidRspError
- See Also:
- Constant Field Values
-
kLiveRoomInputParamsError
public static final int kLiveRoomInputParamsError
- See Also:
- Constant Field Values
-
kLiveRoomInputParamsLengthLimitError
public static final int kLiveRoomInputParamsLengthLimitError
- See Also:
- Constant Field Values
-
kLiveRoomRoomAuthError
public static final int kLiveRoomRoomAuthError
- See Also:
- Constant Field Values
-
kLiveRoomRoomNotExistError
public static final int kLiveRoomRoomNotExistError
- See Also:
- Constant Field Values
-
kLiveRoomNotLoginError
public static final int kLiveRoomNotLoginError
- See Also:
- Constant Field Values
-
kLiveRoomSetStreamInfoError
public static final int kLiveRoomSetStreamInfoError
- See Also:
- Constant Field Values
-
kLiveRoomStreamInfoNotExist
public static final int kLiveRoomStreamInfoNotExist
- See Also:
- Constant Field Values
-
kLiveRoomSessionError
public static final int kLiveRoomSessionError
- See Also:
- Constant Field Values
-
kLiveRoomQpsLimitError
public static final int kLiveRoomQpsLimitError
- See Also:
- Constant Field Values
-
kLiveRoomLuaSessionError
public static final int kLiveRoomLuaSessionError
- See Also:
- Constant Field Values
-
kLiveRoomAddUserError
public static final int kLiveRoomAddUserError
- See Also:
- Constant Field Values
-
kLiveRoomDelUserError
public static final int kLiveRoomDelUserError
- See Also:
- Constant Field Values
-
kLiveRoomAddTransError
public static final int kLiveRoomAddTransError
- See Also:
- Constant Field Values
-
kLiveRoomMaxUserCountError
public static final int kLiveRoomMaxUserCountError
- See Also:
- Constant Field Values
-
kLiveRoomPublishBadNameError
public static final int kLiveRoomPublishBadNameError
- See Also:
- Constant Field Values
-
kLiveRoomRequiredReloginError
public static final int kLiveRoomRequiredReloginError
- See Also:
- Constant Field Values
-
kLiveRoomThirdTokenAuthError
public static final int kLiveRoomThirdTokenAuthError
- See Also:
- Constant Field Values
-
kLiveRoomNetBrokenTimeoutError
public static final int kLiveRoomNetBrokenTimeoutError
- See Also:
- Constant Field Values
-
kLiveRoomAgentTimeoutError
public static final int kLiveRoomAgentTimeoutError
- See Also:
- Constant Field Values
-
kLiveRoomAgentDroppedError
public static final int kLiveRoomAgentDroppedError
- See Also:
- Constant Field Values
-
kRoomConnectError
public static final int kRoomConnectError
- See Also:
- Constant Field Values
-
kRoomDoHandShakeReqError
public static final int kRoomDoHandShakeReqError
- See Also:
- Constant Field Values
-
kRoomDoLoginReqError
public static final int kRoomDoLoginReqError
- See Also:
- Constant Field Values
-
kRoomTimeoutError
public static final int kRoomTimeoutError
- See Also:
- Constant Field Values
-
kRoomHbTimeoutError
public static final int kRoomHbTimeoutError
- See Also:
- Constant Field Values
-
kRoomStartConnectError
public static final int kRoomStartConnectError
- See Also:
- Constant Field Values
-
kRoomReconnectFailError
public static final int kRoomReconnectFailError
- See Also:
- Constant Field Values
-
kRoomInvalidSocketError
public static final int kRoomInvalidSocketError
- See Also:
- Constant Field Values
-
kRoomInvalidRspError
public static final int kRoomInvalidRspError
- See Also:
- Constant Field Values
-
kRoomDecodeSignError
public static final int kRoomDecodeSignError
- See Also:
- Constant Field Values
-
kRoomReplayAttacksError
public static final int kRoomReplayAttacksError
- See Also:
- Constant Field Values
-
kRoomLoginCreateUserError
public static final int kRoomLoginCreateUserError
- See Also:
- Constant Field Values
-
kRoomLoginSameCreateUserError
public static final int kRoomLoginSameCreateUserError
- See Also:
- Constant Field Values
-
kRoomStatusTimeoutError
public static final int kRoomStatusTimeoutError
- See Also:
- Constant Field Values
-
kRoomStatusRspError
public static final int kRoomStatusRspError
- See Also:
- Constant Field Values
-
kRoomMultipleLoginKickoutError
public static final int kRoomMultipleLoginKickoutError
- See Also:
- Constant Field Values
-
kRoomManualKickoutError
public static final int kRoomManualKickoutError
- See Also:
- Constant Field Values
-
kRoomSessionErrorKickoutError
public static final int kRoomSessionErrorKickoutError
- See Also:
- Constant Field Values
-
kMixStreamNoneMixConfigError
public static final int kMixStreamNoneMixConfigError
- See Also:
- Constant Field Values
-
kMixStreamCouldntConnectError
public static final int kMixStreamCouldntConnectError
- See Also:
- Constant Field Values
-
kMixStreamTimeoutError
public static final int kMixStreamTimeoutError
- See Also:
- Constant Field Values
-
kMixStreamSslCaCertError
public static final int kMixStreamSslCaCertError
- See Also:
- Constant Field Values
-
kMixStreamFailError
public static final int kMixStreamFailError
- See Also:
- Constant Field Values
-
kMixStreamInputParamsError
public static final int kMixStreamInputParamsError
- See Also:
- Constant Field Values
-
kMixStreamAuthError
public static final int kMixStreamAuthError
- See Also:
- Constant Field Values
-
kMixStreamInputImageFormatError
public static final int kMixStreamInputImageFormatError
- See Also:
- Constant Field Values
-
kMixStreamInputImageSizeError
public static final int kMixStreamInputImageSizeError
- See Also:
- Constant Field Values
-
kMixStreamNotExistError
public static final int kMixStreamNotExistError
- See Also:
- Constant Field Values
-
kMixStreamStartMixError
public static final int kMixStreamStartMixError
- See Also:
- Constant Field Values
-
kMixStreamStopMixError
public static final int kMixStreamStopMixError
- See Also:
- Constant Field Values
-
kMixStreamInputFormatError
public static final int kMixStreamInputFormatError
- See Also:
- Constant Field Values
-
kMixStreamOutputFormatError
public static final int kMixStreamOutputFormatError
- See Also:
- Constant Field Values
-
kMixStreamNotOpenError
public static final int kMixStreamNotOpenError
- See Also:
- Constant Field Values
-
kMixStreamInputExceedError
public static final int kMixStreamInputExceedError
- See Also:
- Constant Field Values
-
kMixStreamDispatchError
public static final int kMixStreamDispatchError
- See Also:
- Constant Field Values
-
kMixStreamStopMixOwnerError
public static final int kMixStreamStopMixOwnerError
- See Also:
- Constant Field Values
-
kMixStreamWaterMarkParamError
public static final int kMixStreamWaterMarkParamError
- See Also:
- Constant Field Values
-
kMixStreamWaterMarkImageError
public static final int kMixStreamWaterMarkImageError
- See Also:
- Constant Field Values
-
kMixStreamTextWaterMarkIllegalParamError
public static final int kMixStreamTextWaterMarkIllegalParamError
- See Also:
- Constant Field Values
-
kMixStreamQpsOverloadError
public static final int kMixStreamQpsOverloadError
- See Also:
- Constant Field Values
-
kMixStreamAgentTimeoutError
public static final int kMixStreamAgentTimeoutError
- See Also:
- Constant Field Values
-
kMixStreamAgentDroppedError
public static final int kMixStreamAgentDroppedError
- See Also:
- Constant Field Values
-
-
Method Detail
-
isInitSDKError
public static boolean isInitSDKError(int error)
是否初始化SDK错误- Parameters:
error
- 错误码- Returns:
- 是否初始化SDK错误
-
isNotLoginError
public static boolean isNotLoginError(int error)
是否未登录错误- Parameters:
error
- 错误码- Returns:
- 是否未登录错误
-
isMediaServerNetWorkError
public static boolean isMediaServerNetWorkError(int error)
是否媒体服务器连接失败错误- Parameters:
error
- 错误码- Returns:
- 是否媒体服务器连接失败错误
-
isLogicServerNetWrokError
public static boolean isLogicServerNetWrokError(int error)
是否逻辑服务器连接失败错误- Parameters:
error
- 错误码- Returns:
- 是否逻辑服务器连接失败错误
-
isMixStreamNotExistError
public static boolean isMixStreamNotExistError(int error)
是否混流的流不存在错误- Parameters:
error
- 错误码- Returns:
- 是否混流的流不存在错误
-
isPlayStreamNotExistError
public static boolean isPlayStreamNotExistError(int error)
是否拉的流不存在错误- Parameters:
error
- 错误码- Returns:
- 是否拉的流不存在错误
-
isPublishBadNameError
public static boolean isPublishBadNameError(int error)
是否推流重复流名错误- Parameters:
error
- 错误码- Returns:
- 是否推流重复流名错误
-
isPublishForbidError
public static boolean isPublishForbidError(int error)
是否禁止推流错误- Parameters:
error
- 错误码- Returns:
- 是否禁止推流错误
-
isPublishStopError
public static boolean isPublishStopError(int error)
是否停止推流错误- Parameters:
error
- 错误码- Returns:
- 是否停止推流错误
-
isPublishDeniedError
public static boolean isPublishDeniedError(int error)
是否推流Denied错误- Parameters:
error
- 错误码- Returns:
- 是否推流Denied错误
-
isPlayForbidError
public static boolean isPlayForbidError(int error)
是否禁止拉流错误- Parameters:
error
- 错误码- Returns:
- 是否禁止拉流错误
-
isPlayDeniedError
public static boolean isPlayDeniedError(int error)
是否拉流Denied错误- Parameters:
error
- 错误码- Returns:
- 是否拉流Denied错误
-
isDNSResolveError
public static boolean isDNSResolveError(int error)
是否DNSResolve错误- Parameters:
error
- 错误码- Returns:
- 是否DNSResolve错误
-
isNetworkUnreachError
public static boolean isNetworkUnreachError(int error)
是否Network不可达错误- Parameters:
error
- 错误码- Returns:
- 是否Network不可达错误
-
isHttpProtocolError
public static boolean isHttpProtocolError(int error)
是否Http协议错误- Parameters:
error
- 错误码- Returns:
- 是否Http协议错误
-
isReqFrequencyLimitError
public static boolean isReqFrequencyLimitError(int error)
是否超过服务请求频率错误- Parameters:
error
- 错误码- Returns:
- 是否超过服务请求频率错误
-
isLiveRoomError
public static boolean isLiveRoomError(int error)
是否访问LiveRoom服务错误- Parameters:
error
- 错误码- Returns:
- 是否访问LiveRoom服务错误
-
isMultiLoginError
public static boolean isMultiLoginError(int error)
是否该账户多点登录被踢出错误- Parameters:
error
- 错误码- Returns:
- 是否该账户多点登录被踢出错误
-
isManualKickoutError
public static boolean isManualKickoutError(int error)
是否该账户被手动踢出错误- Parameters:
error
- 错误码- Returns:
- 是否该账户被手动踢出错误
-
isRoomSessionError
public static boolean isRoomSessionError(int error)
是否房间会话错误- Parameters:
error
- 错误码- Returns:
- 是否房间会话错误
-
getErrorMsg
public static java.lang.String getErrorMsg(int error)
获取error msg- Parameters:
error
- 错误码- Returns:
- error msg
-
-