SyImErrorCode class
SY 控制面(/api/user/im/*、/api/server/im/token)返回的业务码。
与 Android ImErrorCode、iOS SyImErrorCode 取值相同,与服务端 errcode 包一致。
OpenIM SDK 自己的错误码(登录、实时收发)不在此列,原样透传。
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
isContentRejected(
int code) → bool - 消息被内容策略拦截(敏感词或发送前审核)。
-
isCredentialBlocked(
int code) → bool
Constants
- contentRejected → const int
- 发送前内容审核拒绝,或审核服务不可达(阻断模式)。
- credentialExpired → const int
- AppId 的访问凭证已过期。
- credentialRevoked → const int
- AppId 的访问凭证已吊销。
- credentialSuspended → const int
- AppId 的访问凭证已暂停。
- forbidden → const int
- 无权访问该应用。
- imNotEnabled → const int
- 应用未开通 IM。
- quotaMau → const int
- 月活超出套餐。
- quotaMessages → const int
- 消息量超出套餐。
- rateLimited → const int
- 请求过于频繁。
- sensitiveRejected → const int
- 敏感词拦截(拒绝模式)。
- trialRetired → const int
- 体验版已下线。
- 未登录或 User JWT 无效。