Ejemplo n.º 1
0
 void NotificationReceived(object sender, PushReceivedEvent pushEvent)
 {
     Dispatcher.BeginInvoke(() =>
     {
         ShowMessage(pushEvent.Args.message);
     });
 }
 private async void HandleNotification(object sender, PushReceivedEvent e)
 {
     await Dispatcher.RunAsync(CoreDispatcherPriority.Normal, () =>
     {
         RegisterState.HasContent();
         PropertyChanged(this, new PropertyChangedEventArgs("RegisterState"));
         MessageList.Add(e.Args.Message);
     });
 }
Ejemplo n.º 3
0
 void HandleNotification(object sender, PushReceivedEvent e)
 {
     HandleNotification(new Event { Alert = e.Args.Collection["wp:Text2"] });
 }
 protected abstract void DefaultHandleEvent(object sender, PushReceivedEvent e);
Ejemplo n.º 5
0
 void HandleNotification(object sender, PushReceivedEvent e)
 {
     HandleNotification(new Event { Alert = e.Args.message, Payload = e.Args.data});
 }