Esempio n. 1
0
     public static void SetNotificationListener(IPusheNotificationListener listener)
     {
 #if UNITY_ANDROID && !UNITY_EDITOR
         PusheNotification.SetNotificationListener(listener);
 #elif UNITY_IOS && !UNITY_EDITOR
         // not implemented
 #endif
     }
Esempio n. 2
0
        public static void SetNotificationListener(IPusheNotificationListener listener)
        {
            var callback = new NotificationCallback(listener);

            PusheAndroidUtils.PusheNotificationService().Call("setNotificationListener", callback);
        }
Esempio n. 3
0
 public NotificationCallback(IPusheNotificationListener listener) : base("co.pushe.plus.notification.PusheNotificationListener")
 {
     _listener = listener;
 }