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
priorityproperty of the internalNSURLSessionTaskof this download task. The value for it is between 0.0~1.0. Default priority is value of 0.5. See documentation onpriorityofNSURLSessionTaskfor more about it.Declaration
Swift
public var priority: Float
View on GitHub
Install in Dash
RetrieveImageDownloadTask Structure Reference