Ejemplo n.º 1
0
 static void Events_OnChannelDestroyed(PushSharp.Common.PlatformType platformType, int newChannelCount)
 {
     Console.WriteLine("Channel Destroyed for: " + platformType.ToString() + " Channel Count: " + newChannelCount);
 }
Ejemplo n.º 2
0
 static void Events_OnChannelException(Exception exception, PushSharp.Common.PlatformType platformType, PushSharp.Common.Notification notification)
 {
     Console.WriteLine("Channel Exception: " + platformType.ToString() + " -> " + exception.ToString());
 }
Ejemplo n.º 3
0
 static void Events_OnDeviceSubscriptionExpired(PushSharp.Common.PlatformType platform, string deviceInfo, PushSharp.Common.Notification notification)
 {
     Console.WriteLine("Device Subscription Expired: " + platform.ToString() + " -> " + deviceInfo);
 }
Ejemplo n.º 4
0
 static void Events_OnDeviceSubscriptionExpired(PushSharp.Common.PlatformType platform, string deviceInfo, PushSharp.Common.Notification notification)
 {
     Console.WriteLine("Device Subscription Expired para el dispo: " + notification.Tag.ToString().Split('|')[6] + "|" + platform.ToString() + " -> " + deviceInfo);
 }