RetrieveImageDownloadTask
public struct RetrieveImageDownloadTask
Download task.
-
Downloader by which this task is intialized.
Declaration
Swift
public private(set) weak var ownerDownloader: ImageDownloader?
-
Cancel this download task. It will trigger the completion handler with an NSURLErrorCancelled error.
Declaration
Swift
public func cancel()
-
The original request URL of this download task.
Declaration
Swift
public var url: URL?
-
The relative priority of this download task. It represents the
priority
property of the internalNSURLSessionTask
of this download task. The value for it is between 0.0~1.0. Default priority is value of 0.5. See documentation onpriority
ofNSURLSessionTask
for more about it.Declaration
Swift
public var priority: Float