DownloadTask

public class DownloadTask

Download task.

  • Download file name.

    Declaration

    Swift

    public var fileName: String?;
  • Destination file path (full path).

    Declaration

    Swift

    public var destFilePath: String?;
  • Total bytes to download.

    Declaration

    Swift

    public var totalBytes: Int64?;
  • Downloaded bytes. If it equals totalBytes, that means download task finished.

    Declaration

    Swift

    public var downloadedBytes: Int64?;