accommodatePresentedSubitemDeletionAtURL_completionHandler_ property

ObjCProtocolListenableMethod<void Function(NSURL, ObjCBlock<Void Function(NSError?)>)> accommodatePresentedSubitemDeletionAtURL_completionHandler_
final

accommodatePresentedSubitemDeletionAtURL:completionHandler:

Implementation

static final accommodatePresentedSubitemDeletionAtURL_completionHandler_ =
    objc.ObjCProtocolListenableMethod<
      void Function(
        objc.NSURL,
        objc.ObjCBlock<ffi.Void Function(objc.NSError?)>,
      )
    >(
      _protocol_NSFilePresenter,
      _sel_accommodatePresentedSubitemDeletionAtURL_completionHandler_,
      ffi.Native.addressOf<
            ffi.NativeFunction<
              ffi.Void Function(
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<ffi.Void>,
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<objc.ObjCBlockImpl>,
              )
            >
          >(_NativeBindingBindings_protocolTrampoline_jk1ljc)
          .cast(),
      objc.getProtocolMethodSignature(
        _protocol_NSFilePresenter,
        _sel_accommodatePresentedSubitemDeletionAtURL_completionHandler_,
        isRequired: false,
        isInstanceMethod: true,
      ),
      (
        void Function(
          objc.NSURL,
          objc.ObjCBlock<ffi.Void Function(objc.NSError?)>,
        )
        func,
      ) => ObjCBlock_ffiVoid_ffiVoid_NSURL_ffiVoidNSError.fromFunction(
        (
          ffi.Pointer<ffi.Void> _,
          objc.NSURL arg1,
          objc.ObjCBlock<ffi.Void Function(objc.NSError?)> arg2,
        ) => func(arg1, arg2),
      ),
      (
        void Function(
          objc.NSURL,
          objc.ObjCBlock<ffi.Void Function(objc.NSError?)>,
        )
        func,
      ) => ObjCBlock_ffiVoid_ffiVoid_NSURL_ffiVoidNSError.listener(
        (
          ffi.Pointer<ffi.Void> _,
          objc.NSURL arg1,
          objc.ObjCBlock<ffi.Void Function(objc.NSError?)> arg2,
        ) => func(arg1, arg2),
      ),
      (
        void Function(
          objc.NSURL,
          objc.ObjCBlock<ffi.Void Function(objc.NSError?)>,
        )
        func,
      ) => ObjCBlock_ffiVoid_ffiVoid_NSURL_ffiVoidNSError.blocking(
        (
          ffi.Pointer<ffi.Void> _,
          objc.NSURL arg1,
          objc.ObjCBlock<ffi.Void Function(objc.NSError?)> arg2,
        ) => func(arg1, arg2),
      ),
    );