Example #1
0
        void CoreListener.LogCollectionUploadStateChanged(LogCollectionUploadState state, string info)
        {
            if (CoreDispatcher == null)
            {
                return;
            }
#pragma warning disable CS4014 // Dans la mesure où cet appel n'est pas attendu, l'exécution de la méthode actuelle continue avant la fin de l'appel
            CoreDispatcher.RunAsync(CoreDispatcherPriority.Normal, () => {
                if (state == LogCollectionUploadState.Delivered)
                {
                    BugCollector.ReportExceptions(info);
                }
                else if (state == LogCollectionUploadState.NotDelivered)
                {
                    Debug.WriteLine("[LinphoneManager] Logs upload error: " + info);

                    /* var notif = new CustomMessageBox()
                     * {
                     *   Caption = "Logfile upload failed",
                     *   Message = info,
                     *   RightButtonContent = AppResources.Close
                     * };
                     * notif.Show();*/
                }
            });
        }
Example #2
0
 void CoreListener.LogCollectionUploadStateChanged(LogCollectionUploadState state, string info)
 {
     throw new NotImplementedException();
 }
 void CoreListener.LogCollectionUploadStateChanged(LogCollectionUploadState state, string info)
 {
     throw new NotImplementedException();
 }