Example #1
0
 public AndroidPushNotificationService(
     IPushNotificationListener pushNotificationListener,
     ISettings settings)
 {
     _pushNotificationListener = pushNotificationListener;
     _settings = settings;
 }
 public static void Initialize <T>(T listener) where T : IPushNotificationListener
 {
     if (PushNotificationListener == null)
     {
         PushNotificationListener = listener;
         Debug.WriteLine("PushNotification plugin initialized.");
     }
     else
     {
         Debug.WriteLine("PushNotification plugin already initialized.");
     }
 }
 public void SetListener(IPushNotificationListener listener)
 {
     m_listener = listener;
 }
 public UwpPushNotificationService(IPushNotificationListener pushNotificationListener)
 {
     _pushNotificationListener = pushNotificationListener;
 }
Example #5
0
 public iOSPushNotificationHandler(
     IPushNotificationListener pushNotificationListener)
 {
     _pushNotificationListener = pushNotificationListener;
 }