TIMSetNetworkStatusListenerCallback
Introduction
Callback for network status changing
Returned template
TIMSetNetworkStatusListenerCallback = void Function(status: number, code: number, desc: string, user_data?: any)
Return value details
name | type | description |
---|---|---|
code | number | Result error code: Error Codes |
status | number | Network status |
desc | string | The description of the error. |
user_data | any | User-defined data transfered by ImSDK without any processing |