Optional
onConnecting
onConnecting?: (() => void)
Optional
onConnectSuccess
onConnectSuccess?: (() => void)
Optional
onConnectFailed
onConnectFailed?: ((code, message) => void)
Type declaration
-
- (code, message): void
-
Parameters
-
code: number
-
message: string
Returns void
Optional
onKickedOffline
onKickedOffline?: (() => void)
Optional
onUserSigExpired
onUserSigExpired?: (() => void)
Optional
onSelfInfoUpdated
onSelfInfoUpdated?: ((info) => void)
Type declaration
-
- (info): void
-
Returns void
Optional
onUserStatusChanged
onUserStatusChanged?: ((userStatusList) => void)
Type declaration
-
- (userStatusList): void
-
Returns void
Optional
onUserInfoChanged
onUserInfoChanged?: ((userinfoList) => void)
Type declaration
-
- (userinfoList): void
-
Returns void
Optional
onAllReceiveMessageOptChanged
onAllReceiveMessageOptChanged?: ((receiveMessageOptInfo) => void)
Type declaration
-
- (receiveMessageOptInfo): void
-
Returns void
Optional
onExperimentalNotify
onExperimentalNotify?: ((key, param) => void)
Type declaration
-
- (key, param): void
-
Parameters
-
key: string
-
param: unknown
Returns void
(一)SDK 事件监听类