download_willResumeWithResponse_fromByte_ property

ObjCProtocolListenableMethod<void Function(NSURLDownload, NSURLResponse, int)> download_willResumeWithResponse_fromByte_
final

download:willResumeWithResponse:fromByte:

Implementation

static final download_willResumeWithResponse_fromByte_ =
    objc.ObjCProtocolListenableMethod<
      void Function(NSURLDownload, NSURLResponse, int)
    >(
      _protocol_NSURLDownloadDelegate,
      _sel_download_willResumeWithResponse_fromByte_,
      ffi.Native.addressOf<
            ffi.NativeFunction<
              ffi.Void Function(
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<ffi.Void>,
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<objc.ObjCObject>,
                ffi.LongLong,
              )
            >
          >(_NativeBindingBindings_protocolTrampoline_34xzuf)
          .cast(),
      objc.getProtocolMethodSignature(
        _protocol_NSURLDownloadDelegate,
        _sel_download_willResumeWithResponse_fromByte_,
        isRequired: false,
        isInstanceMethod: true,
      ),
      (void Function(NSURLDownload, NSURLResponse, int) func) =>
          ObjCBlock_ffiVoid_ffiVoid_NSURLDownload_NSURLResponse_ffiLongLong.fromFunction(
            (
              ffi.Pointer<ffi.Void> _,
              NSURLDownload arg1,
              NSURLResponse arg2,
              int arg3,
            ) => func(arg1, arg2, arg3),
          ),
      (void Function(NSURLDownload, NSURLResponse, int) func) =>
          ObjCBlock_ffiVoid_ffiVoid_NSURLDownload_NSURLResponse_ffiLongLong.listener(
            (
              ffi.Pointer<ffi.Void> _,
              NSURLDownload arg1,
              NSURLResponse arg2,
              int arg3,
            ) => func(arg1, arg2, arg3),
          ),
      (void Function(NSURLDownload, NSURLResponse, int) func) =>
          ObjCBlock_ffiVoid_ffiVoid_NSURLDownload_NSURLResponse_ffiLongLong.blocking(
            (
              ffi.Pointer<ffi.Void> _,
              NSURLDownload arg1,
              NSURLResponse arg2,
              int arg3,
            ) => func(arg1, arg2, arg3),
          ),
    );