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