Task Priority Default
The default URL session task priority, used implicitly for any task you have not prioritized.
Task Priority Low
A low URL session task priority, with a floating point value above the minimum of
0 and below the default value.
Task Priority High
A high URL session task priority, with a floating point value above the default value and below the maximum of
Cancels the task.
Resumes the task, if it is suspended.
Temporarily suspends a task.
The current state of the task—active, suspended, in the process of being canceled, or completed.
Constants for determining the current state of a task.
The relative priority at which you’d like a host to handle the task, specified as a floating point value between
0 (lowest priority) and
1 (highest priority).