Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSURLSessionTaskMBS class.

NSURLSessionTaskMBS.Cancel

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Networking MBS MacFrameworks Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Cancels the task.

This method returns immediately, marking the task as being canceled. Once a task is marked as being canceled, taskDidCompleteWithError event is called, passing an error in the domain NSURLErrorDomain with the code NSURLErrorCancelled. A task may, under some circumstances, send messages to its delegate before the cancelation is acknowledged.
This method may be called on a task that is suspended.

NSURLSessionTaskMBS.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.

NSURLSessionTaskMBS.copy as NSURLSessionTaskMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Networking MBS MacFrameworks Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Copies the task.

NSURLSessionTaskMBS.resume

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Networking MBS MacFrameworks Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Resumes the task, if it is suspended.

Newly-initialized tasks begin in a suspended state, so you need to call this method to start the task.

NSURLSessionTaskMBS.suspend

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Networking MBS MacFrameworks Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Temporarily suspends a task.

A task, while suspended, produces no network traffic and is not subject to timeouts. A download task can continue transferring data at a later time. All other tasks must start over when resumed.

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


The biggest plugin in space...