private OSNotificationOpenedResult OSNotificationOpenedResultToXam(iOS.OSNotificationOpenedResult result)
      {
         var openresult = new OSNotificationOpenedResult();
         openresult.action = new OSNotificationAction();
         iOS.OSNotificationAction action = result.Action;
         openresult.action.actionID = action.ActionID;
         openresult.action.type = (OSNotificationAction.ActionType)(int)action.Type;

         openresult.notification = OSNotificationToXam(result.Notification);

         return openresult;
      }
 public void NotificationOpenedHandler(iOS.OSNotificationOpenedResult result)
 {
     OnPushNotificationOpened(OSNotificationOpenedResultToXam(result));
 }
 public void NotificationOpenedHandler(iOS.OSNotificationOpenedResult result)
 {
     onPushNotificationOpened(OSNotificationOpenedResultToNative(result));
 }