예제 #1
0
 public NotificationPayload(string deviceToken, string alert)
 {
     DeviceToken = deviceToken;
     Alert       = new NotificationAlert()
     {
         Body = alert
     };
     CustomItems = new Dictionary <string, object[]>();
 }
예제 #2
0
 public NotificationPayload(string deviceToken, string alert, int badge, string sound)
 {
     DeviceToken = deviceToken;
     Alert       = new NotificationAlert()
     {
         Body = alert
     };
     Badge       = badge;
     Sound       = sound;
     CustomItems = new Dictionary <string, object[]>();
 }