private void Update() { _bgService.GenerateLiveTile(); _bgService.UpdateBadge(); if (AppSettings.OpenGet("Showtoast") != null) { if (AppSettings.Get <bool>("Showtoast") == true) { _bgService.GenerateQuickAction(); } } }
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 { } }
private void Update() { BackgroundService.GenerateLiveTile(); BackgroundService.UpdateBadge(); }
private void Update() { _bgService.GenerateLiveTile(); _bgService.UpdateBadge(); }