DeleteMode
@objc public enum DeleteMode: Int
Select how to detele a task in DownloadListController.
case fileAndRecord: Delete task record and relative file both. If SDEDownloadManager’s isTrashOpened == true,
task is moved to the trash.
case onlyFile: Only delete relative file, and keep task record.
case optional: Offer options: only file or both.
-
Delete task record and relative file both. If SDEDownloadManager’s
isTrashOpened == true, task is moved to the trash.Declaration
Swift
case fileAndRecord
-
Only delete relative file but keep task record.
Declaration
Swift
case onlyFile
-
Offer options: only file or both.
Declaration
Swift
case optional
View on GitHub
Install in Dash
DeleteMode Enum Reference