コード例 #1
0
 static void OnNetworkStatusListenerCallback(TIMNetworkStatus status, int code, string desc, IntPtr ptr)
 {
     if (TIMNetworkStatusListenerChangedHandler != null)
     {
         TIMNetworkStatusListenerChangedHandler.Invoke(null, new TIMNetworkStatusListenerArgs(status, code, desc));
     }
 }
コード例 #2
0
 public TIMNetworkStatusListenerArgs(TIMNetworkStatus status, int code, string desc)
 {
     NetworkStatus = status;
     Code          = code;
     Desc          = desc;
 }