Example #1
0
        public void AmazonAdm_Simple_Test()
        {
            var wait = new ManualResetEvent(false);

            var settings = new AdmPushChannelSettings ("client_id", "client_secret");

            var adm = new AdmPushChannel (settings);

            var n = new AdmNotification ();
            n.Data.Add ("Test", "value");
            n.RegistrationId = "12345";

            adm.SendNotification (n, (sender, response) => wait.Set());

            wait.WaitOne ();
        }
Example #2
0
		public AdmMessageTooLargeException(AdmNotification notification, string msg) : base(msg) 
		{
			Notification = notification;
		}
Example #3
0
		public AdmSendException(AdmNotification notification, string msg) : base(msg) 
		{
			Notification = notification;
		}
Example #4
0
		public AdmRateLimitExceededException(AdmNotification notification, string msg) : base(msg) 
		{
			Notification = notification;
		}
Example #5
0
 public AdmMessageTooLargeException(AdmNotification notification, string msg) : base(msg)
 {
     Notification = notification;
 }
Example #6
0
 public AdmSendException(AdmNotification notification, string msg) : base(msg)
 {
     Notification = notification;
 }
Example #7
0
 public AdmRateLimitExceededException(AdmNotification notification, string msg) : base(msg)
 {
     Notification = notification;
 }