Search
Preparing search index...
The search index is not available
RongIMLib - v5.9.0
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
RongIMLib - v5.9.0
IConnectCallback
Interface IConnectCallback
连接回调
Hierarchy
IConnectCallback
Index
Methods
on
Success
on
Token
Incorrect
on
Error
Methods
on
Success
on
Success
(
userId
:
string
)
:
void
连接成功回调
Parameters
userId:
string
Returns
void
on
Token
Incorrect
on
Token
Incorrect
(
)
:
void
连接用 token 失效回调
Returns
void
on
Error
on
Error
(
errorcode
:
number
)
:
void
连接失败回调
Parameters
errorcode:
number
错误码
Returns
void
Method
onSuccess
onTokenIncorrect
onError
连接回调