public unsafe static void DidReceiveNotificationResponse(this IOSUserNotificationCenterDelegate This, NSObject center, NSObject response, [BlockProxy(typeof(ObjCRuntime.Trampolines.NIDAction))] global::System.Action completionHandler)
        {
            if (center == null)
            {
                throw new ArgumentNullException("center");
            }
            if (response == null)
            {
                throw new ArgumentNullException("response");
            }
            if (completionHandler == null)
            {
                throw new ArgumentNullException("completionHandler");
            }
            BlockLiteral *block_ptr_completionHandler;
            BlockLiteral  block_completionHandler;

            block_completionHandler     = new BlockLiteral();
            block_ptr_completionHandler = &block_completionHandler;
            block_completionHandler.SetupBlock(Trampolines.SDAction.Handler, completionHandler);

            global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr_IntPtr_IntPtr(This.Handle, Selector.GetHandle("userNotificationCenter:didReceiveNotificationResponse:withCompletionHandler:"), center.Handle, response.Handle, (IntPtr)block_ptr_completionHandler);
            block_ptr_completionHandler->CleanupBlock();
        }
        public unsafe static void WillPresentNotification(this IOSUserNotificationCenterDelegate This, NSObject center, NSObject notification, [BlockProxy(typeof(ObjCRuntime.Trampolines.NIDActionArity1V0))] global::System.Action <global::System.nuint> completionHandler)
        {
            if (center == null)
            {
                throw new ArgumentNullException("center");
            }
            if (notification == null)
            {
                throw new ArgumentNullException("notification");
            }
            if (completionHandler == null)
            {
                throw new ArgumentNullException("completionHandler");
            }
            BlockLiteral *block_ptr_completionHandler;
            BlockLiteral  block_completionHandler;

            block_completionHandler     = new BlockLiteral();
            block_ptr_completionHandler = &block_completionHandler;
            block_completionHandler.SetupBlock(Trampolines.SDActionArity1V0.Handler, completionHandler);

            global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr_IntPtr_IntPtr(This.Handle, Selector.GetHandle("userNotificationCenter:willPresentNotification:withCompletionHandler:"), center.Handle, notification.Handle, (IntPtr)block_ptr_completionHandler);
            block_ptr_completionHandler->CleanupBlock();
        }