コード例 #1
0
 public NotificationPayload(string deviceToken, string alert, int badge)
 {
     DeviceToken = deviceToken;
     Alert = new NotificationAlert() { Body = alert };
     Badge = badge;
     CustomItems = new Dictionary<string, object[]>();
 }
コード例 #2
0
 public NotificationPayload(string deviceToken, string alert)
 {
     DeviceToken = deviceToken;
     Alert       = new NotificationAlert()
     {
         Body = alert
     };
     CustomItems = new Dictionary <string, object[]>();
 }
コード例 #3
0
 public NotificationPayload(string deviceToken, string alert, int badge, string sound, int content_available)
 {
     DeviceToken = deviceToken;
     Alert = new NotificationAlert() { Body = alert };
     Badge = badge;
     Sound = sound;
     Content_available = content_available;
     CustomItems = new Dictionary<string, object[]>();
 }
コード例 #4
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[]>();
 }
コード例 #5
0
 public NotificationPayload(string deviceToken)
 {
     DeviceToken = deviceToken;
     Alert = new NotificationAlert();
     CustomItems = new Dictionary<string, object[]>();
 }