ToolBarAction
@objc public enum ToolBarAction: Int
Predefined action for UIBarButtonItem in toolBar of DownloadListController by toolBarActions.
For example, toolBarActions = [.resumeAll, .stopAll], toolBar will show two UIBarButtonItem to
provide these two features.
case resumeAll: Resume all unfinished tasks. It won’t be displayed if displayContent == .toDeleteList.
case pauseAll: Pause all downloading tasks. It won’t be displayed if displayContent == .toDeleteList.
case stopAll: Stop all downloading tasks and cancel all waitting tasks. It won’t be displayed if
displayContent == .toDeleteList.
case deleteAll: Delete all tasks. It won’t be displayed if displayContent == .unfinishedList.
-
Resume all unfinished tasks. It won’t be displayed if
displayContent == .toDeleteList.Declaration
Swift
case resumeAll
-
Pause all downloading tasks. It won’t be displayed if
displayContent == .toDeleteList.Declaration
Swift
case pauseAll
-
Stop all downloading tasks and cancel all waitting tasks. It won’t be displayed if
displayContent == .toDeleteList.Declaration
Swift
case stopAll
-
Delete all tasks. It won’t be displayed if
displayContent == .unfinishedList.Declaration
Swift
case deleteAll
View on GitHub
Install in Dash
ToolBarAction Enum Reference