FirebaseStorage Framework Reference

StorageTask

@available(iOS13,tvOS13,macOS10.15,watchOS7,*)@objc(FIRStorageTask)openclassStorageTask:NSObject

A superclass to all Storage tasks, includingStorageUploadTask andStorageDownloadTask, 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

    @objcpublicvarsnapshot:StorageTaskSnapshot{get}

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024-07-30 UTC.