StorageTaskManagement
@objc(FIRStorageTaskManagement)
public protocol StorageTaskManagement : NSObjectProtocol
Defines task operations such as pause, resume, cancel, and enqueue for all tasks.
All tasks are required to implement enqueue, which begins the task, and may optionally implement pause, resume, and cancel, which operate on the task to pause, resume, and cancel operations.
-
Prepares a task and begins execution.
Declaration
Swift
@objc func enqueue()
-
Pauses a task currently in progress.
Declaration
Swift
@objc optional func pause()
-
Cancels a task.
Declaration
Swift
@objc optional func cancel()
-
Resumes a paused task.
Declaration
Swift
@objc optional func resume()