Пример #1
0
 /// <summary>
 /// Callback for LinphoneCoreListener
 /// </summary>
 public void LogUploadStatusChanged(LinphoneCoreLogCollectionUploadState state, string info)
 {
     if (BaseModel.UIDispatcher == null)
     {
         return;
     }
     BaseModel.UIDispatcher.BeginInvoke(() =>
     {
         if (state == LinphoneCoreLogCollectionUploadState.LinphoneCoreLogCollectionUploadStateDelivered)
         {
             BugCollector.ReportExceptions(info);
         }
         else if (state == LinphoneCoreLogCollectionUploadState.LinphoneCoreLogCollectionUploadStateNotDelivered)
         {
             Logger.Err(String.Format("[LinphoneManager] Logs upload error: {0}", info));
             var notif = new CustomMessageBox()
             {
                 Caption            = "Logfile upload failed",
                 Message            = info,
                 RightButtonContent = AppResources.Close
             };
             notif.Show();
         }
     });
 }
 /// <summary>
 /// Callback for LinphoneCoreListener
 /// </summary>
 public void LogUploadStatusChanged(LinphoneCoreLogCollectionUploadState state, string info)
 {
 }
 public void LogUploadStatusChanged(LinphoneCoreLogCollectionUploadState state, string info)
 {
     WriteLog("LogUploadStatusChanged");
 }
Пример #4
0
 public void LogUploadStatusChanged(LinphoneCoreLogCollectionUploadState state, string info)
 {
     Console.WriteLine("LogUploadStatusChanged");
 }
 /// <summary>
 /// Callback for LinphoneCoreListener
 /// </summary>
 public void LogUploadStatusChanged(LinphoneCoreLogCollectionUploadState state, string info)
 {
     if (BaseModel.UIDispatcher == null) return;
     BaseModel.UIDispatcher.BeginInvoke(() =>
     {
         if (state == LinphoneCoreLogCollectionUploadState.LinphoneCoreLogCollectionUploadStateDelivered)
         {
             BugCollector.ReportExceptions(info);
         }
         else if (state == LinphoneCoreLogCollectionUploadState.LinphoneCoreLogCollectionUploadStateNotDelivered) 
         {
             Logger.Err(String.Format("[LinphoneManager] Logs upload error: {0}", info));
             var notif = new CustomMessageBox()
             {
                 Caption = "Logfile upload failed",
                 Message = info,
                 RightButtonContent = AppResources.Close
             };
             notif.Show();
         }
     });
 }