Ejemplo n.º 1
0
        public void Initialize(Action<string> statusAction)
        {
            placeManager = new GMBLPlaceManager();
            placeManager.Delegate = new BLPlaceManagerDelegate(statusAction);

            communicationManager = new GMBLCommunicationManager();
            communicationManager.Delegate = new BLCommunicationManager(statusAction);
        }
Ejemplo n.º 2
0
        private void processNotificationResponse(UNNotificationResponse response)
        {
            GMBLCommunication communication = GMBLCommunicationManager.CommunicationForNotificationResponse(response);

            if (communication != null)
            {
                //[self storeCommunication:communication];
                Debug.WriteLine(String.Format("processNotificationResponse communication {0}", communication));
            }
        }
Ejemplo n.º 3
0
        //Notification Helper Methods
        private void ProcessRemoteNotification(NSDictionary userInfo)
        {
            GMBLCommunication communication = GMBLCommunicationManager.CommunicationForRemoteNotification(userInfo);

            if (communication != null)
            {
                //[self storeCommunication:communication];
                Debug.WriteLine(String.Format("ProcessRemoteNotification communication {0}", communication));
            }
        }
Ejemplo n.º 4
0
        private void ProcessLocalNotification(UILocalNotification notification, UIApplicationState state)
        {
            GMBLCommunication communication = GMBLCommunicationManager.CommunicationForLocalNotification(notification);

            if (communication != null)
            {
                UIApplication.SharedApplication.CancelLocalNotification(notification);
                //[self storeCommunication:communication];
                Debug.WriteLine(String.Format("ProcessLocalNotification communication {0}", communication));
            }
        }
Ejemplo n.º 5
0
 public override UNMutableNotificationContent CommunicationManager(GMBLCommunicationManager manager, UNMutableNotificationContent notificationContent, GMBLCommunication communication)
 {
     string description = String.Format("{0} CONTENT_DELIVERED", communication.DescriptionText);
     statusAction(description);
     return notificationContent;
 }
Ejemplo n.º 6
0
 public override UILocalNotification CommunicationManager(GMBLCommunicationManager manager, UILocalNotification notification, GMBLCommunication communication)
 {
     string description = String.Format("{0} CONTENT_DELIVERED", communication.DescriptionText);
     statusAction(description);
     return notification;
 }