FirebaseStorage Framework Reference

StorageTask

@objc(FIRStorageTask)
open class StorageTask : NSObject

A superclass to all Storage tasks, including StorageUploadTask and StorageDownloadTask, to provide state transitions, event raising, and common storage for metadata and errors.

Callbacks are always fired on the developer-specified callback queue. If no queue is specified, it defaults to the main queue. This class is thread-safe.

  • An immutable view of the task and associated metadata, progress, error, etc.

    Declaration

    Swift

    @objc
    public var snapshot: StorageTaskSnapshot { get }