Instance Property

taskDescription

An app-provided description of the current task.

Declaration

var taskDescription: String? { get set }

Discussion

This value may be nil. It is intended to contain human-readable strings that you can then display to the user as part of your app’s user interface.

See Also

Obtaining General Task Information

var currentRequest: URLRequest?

The URL request object currently being handled by the task.

var originalRequest: URLRequest?

The original request object passed when the task was created.

var response: URLResponse?

The server’s response to the currently active request.

var taskIdentifier: Int

An identifier uniquely identifying the task within a given session.

var error: Error?

An error object that indicates why the task failed.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software