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