static void OnNetworkStatusListenerCallback(TIMNetworkStatus status, int code, string desc, IntPtr ptr) { if (TIMNetworkStatusListenerChangedHandler != null) { TIMNetworkStatusListenerChangedHandler.Invoke(null, new TIMNetworkStatusListenerArgs(status, code, desc)); } }
public TIMNetworkStatusListenerArgs(TIMNetworkStatus status, int code, string desc) { NetworkStatus = status; Code = code; Desc = desc; }