Ejemplo n.º 1
0
        private async Task OnMessageAcknowledged(MessageAcknowledgeEventArgs e)
        {
            try
            {
                _badgeManager?.Update();
                _toastManager?.HandleAcknowledge(e.Channel);

                if (_tileManager != null)
                {
                    await _tileManager.HandleAcknowledgeAsync(e.Channel);
                }

                if (_secondaryTileManager != null)
                {
                    await _secondaryTileManager.HandleAcknowledgeAsync(e.Channel);
                }
            }
            catch (Exception)
            {
                // TODO: log
            }
        }