Пример #1
0
 public void OnNotificationOpened(CPNotificationOpenedResult result)
 {
     if (builder._notificationOpenedDelegate != null)
     {
         builder._notificationOpenedDelegate(result);
     }
 }
Пример #2
0
 public void OnNotificationReceived(CPNotificationOpenedResult notification)
 {
     if (builder._notificationReceivedDelegate != null)
     {
         builder._notificationReceivedDelegate(notification);
     }
 }
Пример #3
0
        private CPNotificationOpenedResult CPNotificationOpenedResultToXam(iOS.CPNotificationOpenedResult result)
        {
            var openresult = new CPNotificationOpenedResult();

            openresult.notification = CPNotificationToXam(result.Notification);
            openresult.subscription = NSDictToPureDict(result.Subscription);
            openresult.payload      = NSDictToPureDict(result.Payload);

            return(openresult);
        }