Beispiel #1
0
        async void Channel_PushNotificationReceived(Windows.Networking.PushNotifications.PushNotificationChannel sender, Windows.Networking.PushNotifications.PushNotificationReceivedEventArgs args)
        {
            if (args.NotificationType == Windows.Networking.PushNotifications.PushNotificationType.Toast)
            {
                var root   = args.ToastNotification.Content.DocumentElement;
                var launch = root.GetAttribute("launch");

                await dispatcher.RunAsync(CoreDispatcherPriority.Normal, () =>
                {
                    UpdateDeviceText(launch);
                });
            }
        }
 private void ChannelOperation_PushNotificationReceived(Windows.Networking.PushNotifications.PushNotificationChannel sender, Windows.Networking.PushNotifications.PushNotificationReceivedEventArgs e)
 {
 }
 private static void Channel_PushNotificationReceived(Windows.Networking.PushNotifications.PushNotificationChannel sender, Windows.Networking.PushNotifications.PushNotificationReceivedEventArgs args)
 {
 }