Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSURLSessionDownloadTaskMBS class.

NSURLSessionDownloadTaskMBS.cancelByProducingResumeData(Handler as ProducingResumeDataCompletedMBS, tag as variant = nil)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Networking MBS MacFrameworks Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Cancels a download and calls a callback with resume data for later use.

A download can be resumed only if the following conditions are met:

  • The resource has not changed since you first requested it
  • The task is an HTTP or HTTPS GET request
  • The server provides either the ETag or Last-Modified header (or both) in its response
  • The server supports byte-range requests
  • The temporary file hasn’t been deleted by the system in response to disk space pressure

Calls the handler later when finished.

NSURLSessionDownloadTaskMBS.Constructor   Private

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Networking MBS MacFrameworks Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The private constructor.

The items on this page are in the following plugins: MBS MacFrameworks Plugin.


The biggest plugin in space...