NetworkStatusListenerCallback
introduction
Callback for network status changing
Returned template
void NetworkStatusListenerCallback(TIMNetworkStatus status, int code, string desc, string user_data);
Return value details
name | type | description |
---|---|---|
status | TIMNetworkStatus | Network status, please checkTIMNetworkStatus |
code | int | Result error code: Error Codes |
desc | string | The description of the error. |
user_data | string | User-defined data transfered by ImSDK without any processing |