public NotificationPayload(string alert, int badge)
		{
			HideActionButton = false;
			Alert = new NotificationAlert() { Body = alert };
			Badge = badge;
			CustomItems = new Dictionary<string, object[]>();
		}
		public NotificationPayload(string alert, int badge, string sound)
		{
			Alert = new NotificationAlert() { Body = alert };
			Badge = badge;
			Sound = sound;
			CustomItems = new Dictionary<string, object[]>();
		}
 public NotificationPayload(string alert, int badge)
 {
     HideActionButton = false;
     Alert = new NotificationAlert() { Body = alert };
     Badge = badge;
     CustomItems = new Dictionary<string, object[]>();
 }
Example #4
0
 public NotificationPayload(string alert)
 {
     Alert = new NotificationAlert()
     {
         Body = alert
     };
     CustomItems = new Dictionary <string, object[]>();
 }
Example #5
0
 public NotificationPayload(string alert, int badge, string sound)
 {
     Alert = new NotificationAlert()
     {
         Body = alert
     };
     Badge       = badge;
     Sound       = sound;
     CustomItems = new Dictionary <string, object[]>();
 }
 public NotificationPayload()
 {
     HideActionButton = false;
     Alert            = new NotificationAlert();
     CustomItems      = new Dictionary <string, object[]>();
 }
		public NotificationPayload(string alert)
		{
			Alert = new NotificationAlert() { Body = alert };
			CustomItems = new Dictionary<string, object[]>();
		}
 public NotificationPayload()
 {
     HideActionButton = false;
     Alert = new NotificationAlert();
     CustomItems = new Dictionary<string, object[]>();
 }