downloadTaskWithURL_completionHandler_ method

NSURLSessionDownloadTask downloadTaskWithURL_completionHandler_(
  1. NSURL url,
  2. ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError completionHandler
)

Implementation

NSURLSessionDownloadTask downloadTaskWithURL_completionHandler_(NSURL url,
    ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError completionHandler) {
  final _ret = _lib._objc_msgSend_1080(
      _id,
      _lib._sel_downloadTaskWithURL_completionHandler_1,
      url._id,
      completionHandler._id);
  return NSURLSessionDownloadTask._(_ret, _lib, retain: true, release: true);
}