ComparisonType

@objc public enum ComparisonType: Int

There are two sort mode: manual mode(.manual) and predefined mode(the follow latter four types). Task order in downloadList of SDEDownloadManager is determined by sortType and sortOrder together.

case manual: You determine task location.

case addTime: Sorted by time when task is added.

case fileName: Sorted by file display name.

case fileSize: Sorted by file size.

case fileType: Sorted and grouped by file type.

  • You determine task location.

    Declaration

    Swift

    case manual = -1
  • Sorted by time when task is added.

    Declaration

    Swift

    case addTime = 0
  • Sorted by file display name.

    Declaration

    Swift

    case fileName
  • Sorted by file size.

    Declaration

    Swift

    case fileSize
  • Sorted and grouped by file type.

    Declaration

    Swift

    case fileType
  • Sort type description.

    Declaration

    Swift

    public var description: String