FirebaseStorage Framework Reference

FIRStorageTask


@interface FIRStorageTask : 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

    Objective-C

    @property (nonatomic, strong, readonly) FIRStorageTaskSnapshot *_Nonnull snapshot;
  • Undocumented

    Declaration

    Objective-C

    - (nonnull instancetype)init SWIFT_UNAVAILABLE;
  • Undocumented

    Declaration

    Objective-C

    + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");