public void Initialize(Action<string> statusAction) { placeManager = new GMBLPlaceManager(); placeManager.Delegate = new BLPlaceManagerDelegate(statusAction); communicationManager = new GMBLCommunicationManager(); communicationManager.Delegate = new BLCommunicationManager(statusAction); }
private void processNotificationResponse(UNNotificationResponse response) { GMBLCommunication communication = GMBLCommunicationManager.CommunicationForNotificationResponse(response); if (communication != null) { //[self storeCommunication:communication]; Debug.WriteLine(String.Format("processNotificationResponse communication {0}", communication)); } }
//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)); } }
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)); } }
public override UNMutableNotificationContent CommunicationManager(GMBLCommunicationManager manager, UNMutableNotificationContent notificationContent, GMBLCommunication communication) { string description = String.Format("{0} CONTENT_DELIVERED", communication.DescriptionText); statusAction(description); return notificationContent; }
public override UILocalNotification CommunicationManager(GMBLCommunicationManager manager, UILocalNotification notification, GMBLCommunication communication) { string description = String.Format("{0} CONTENT_DELIVERED", communication.DescriptionText); statusAction(description); return notification; }