TIMResult enum
//////////////////////////////////////////////////////////////////////////////
一. SDK 接口常用配置选项
////////////////////////////////////////////////////////////////////////////// 1.1 调用接口的返回值(若接口参数中有回调,只有当接口返回 TIM_SUCC 时,回调才会被调用)
Values
- TIM_SUCC → const TIMResult
-
接口调用成功
const TIMResult(0)
- TIM_ERR_SDKUNINIT → const TIMResult
-
接口调用失败,ImSDK 未初始化
const TIMResult(-1)
- TIM_ERR_NOTLOGIN → const TIMResult
-
接口调用失败,用户未登录
const TIMResult(-2)
- TIM_ERR_JSON → const TIMResult
-
接口调用失败,错误的 Json 格式或 Json Key
const TIMResult(-3)
- TIM_ERR_PARAM → const TIMResult
-
接口调用失败,参数错误
const TIMResult(-4)
- TIM_ERR_CONV → const TIMResult
-
接口调用失败,无效的会话
const TIMResult(-5)
- TIM_ERR_GROUP → const TIMResult
-
接口调用失败,无效的群组
const TIMResult(-6)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → int
-
final
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