download_didReceiveResponse_ property

ObjCProtocolListenableMethod<void Function(NSURLDownload, NSURLResponse)> download_didReceiveResponse_
final

download:didReceiveResponse:

Implementation

static final download_didReceiveResponse_ =
    objc.ObjCProtocolListenableMethod<
      void Function(NSURLDownload, NSURLResponse)
    >(
      _protocol_NSURLDownloadDelegate,
      _sel_download_didReceiveResponse_,
      ffi.Native.addressOf<
            ffi.NativeFunction<
              ffi.Void Function(
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<ffi.Void>,
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<objc.ObjCObject>,
              )
            >
          >(_NativeBindingBindings_protocolTrampoline_fjrv01)
          .cast(),
      objc.getProtocolMethodSignature(
        _protocol_NSURLDownloadDelegate,
        _sel_download_didReceiveResponse_,
        isRequired: false,
        isInstanceMethod: true,
      ),
      (void Function(NSURLDownload, NSURLResponse) func) =>
          ObjCBlock_ffiVoid_ffiVoid_NSURLDownload_NSURLResponse.fromFunction(
            (
              ffi.Pointer<ffi.Void> _,
              NSURLDownload arg1,
              NSURLResponse arg2,
            ) => func(arg1, arg2),
          ),
      (void Function(NSURLDownload, NSURLResponse) func) =>
          ObjCBlock_ffiVoid_ffiVoid_NSURLDownload_NSURLResponse.listener(
            (
              ffi.Pointer<ffi.Void> _,
              NSURLDownload arg1,
              NSURLResponse arg2,
            ) => func(arg1, arg2),
          ),
      (void Function(NSURLDownload, NSURLResponse) func) =>
          ObjCBlock_ffiVoid_ffiVoid_NSURLDownload_NSURLResponse.blocking(
            (
              ffi.Pointer<ffi.Void> _,
              NSURLDownload arg1,
              NSURLResponse arg2,
            ) => func(arg1, arg2),
          ),
    );