Exemplo n.º 1
0
 private void Update()
 {
     _bgService.GenerateLiveTile();
     _bgService.UpdateBadge();
     if (AppSettings.OpenGet("Showtoast") != null)
     {
         if (AppSettings.Get <bool>("Showtoast") == true)
         {
             _bgService.GenerateQuickAction();
         }
     }
 }
Exemplo n.º 2
0
 public void Run(IBackgroundTaskInstance taskInstance)
 {
     deferal = taskInstance.GetDeferral();
     taskInstance.Canceled       += TaskInstance_Canceled;
     taskInstance.Task.Completed += Task_Completed;
     System.Diagnostics.Debug.WriteLine("Hello From Live bg");
     try
     {
         _bgService.GenerateLiveTile();
         _bgService.UpdateBadge();
         if (AppSettings.OpenGet("Showtoast") != null)
         {
             if (AppSettings.Get <bool>("Showtoast") == true)
             {
                 _bgService.GenerateQuickAction();
             }
         }
     }
     catch { }
 }
Exemplo n.º 3
0
 private void Update()
 {
     BackgroundService.GenerateLiveTile();
     BackgroundService.UpdateBadge();
 }
Exemplo n.º 4
0
 private void Update()
 {
     _bgService.GenerateLiveTile();
     _bgService.UpdateBadge();
 }