StorageTaskSnapshot
@available(iOS 13, tvOS 13, macOS 10.15, watchOS 7, *)
@objc(FIRStorageTaskSnapshot)
open class StorageTaskSnapshot : NSObjectStorageTaskSnapshot represents an immutable view of a task.
A snapshot contains a task, storage reference, metadata (if it exists),
progress, and an error (if one occurred).
-
The task this snapshot represents.
Declaration
Swift
@objc public let task: StorageTask -
Metadata returned by the task, or
nilif no metadata returned.Declaration
Swift
@objc public let metadata: StorageMetadata? -
The
StorageReferencethis task operates on.Declaration
Swift
@objc public let reference: StorageReference -
An object which tracks the progress of an upload or download.
Declaration
Swift
@objc public let progress: Progress? -
An error raised during task execution, or
nilif no error occurred.Declaration
Swift
@objc public let error: Error? -
The status of the task.
Declaration
Swift
@objc public let status: StorageTaskStatus
-
Undocumented
Declaration
Swift
override public var description: String { get }