Send feedback
FirebaseStorage Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
FIRStorageTaskSnapshot
@interface FIRStorageTaskSnapshot : NSObject
StorageTaskSnapshot
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
Objective-C
@property ( nonatomic , strong , readonly ) FIRStorageTask * _Nonnull task ;
Metadata returned by the task, or nil
if no metadata returned.
Declaration
Objective-C
@property ( nonatomic , strong , readonly ) FIRStorageMetadata * _Nullable metadata ;
The StorageReference
this task operates on.
An object which tracks the progress of an upload or download.
Declaration
Objective-C
@property ( nonatomic , strong , readonly ) NSProgress * _Nullable progress ;
An error raised during task execution, or nil
if no error occurred.
Declaration
Objective-C
@property ( nonatomic , readonly ) NSError * _Nullable error ;
Declaration
Objective-C
@property ( nonatomic , readonly , copy ) NSString * _Nonnull description
Declaration
Objective-C
- ( nonnull instancetype ) init SWIFT_UNAVAILABLE ;
Declaration
Objective-C
+ ( nonnull instancetype ) new SWIFT_UNAVAILABLE_MSG ( "-init is unavailable" );
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-10-10 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2022-10-10 UTC."],[],[],null,["FIRStorageTaskSnapshot \n\n\n @interface FIRStorageTaskSnapshot : NSObject\n\n`StorageTaskSnapshot` represents an immutable view of a task.\nA snapshot contains a task, storage reference, metadata (if it exists),\nprogress, and an error (if one occurred).\n- `\n ``\n ``\n `\n\n [task](#/c:@M@FirebaseStorage@objc(cs)FIRStorageTaskSnapshot(py)task)`\n ` \n The task this snapshot represents. \n\n Declaration \n Objective-C \n\n @property (nonatomic, strong, readonly) ../Classes/FIRStorageTask.html *_Nonnull task;\n\n- `\n ``\n ``\n `\n\n [metadata](#/c:@M@FirebaseStorage@objc(cs)FIRStorageTaskSnapshot(py)metadata)`\n ` \n Metadata returned by the task, or `nil` if no metadata returned. \n\n Declaration \n Objective-C \n\n @property (nonatomic, strong, readonly) ../Classes/FIRStorageMetadata.html *_Nullable metadata;\n\n- `\n ``\n ``\n `\n\n [reference](#/c:@M@FirebaseStorage@objc(cs)FIRStorageTaskSnapshot(py)reference)`\n ` \n The `StorageReference` this task operates on. \n\n Declaration \n Objective-C \n\n @property (nonatomic, strong, readonly) ../Classes/FIRStorageReference.html *_Nonnull reference;\n\n- `\n ``\n ``\n `\n\n [progress](#/c:@M@FirebaseStorage@objc(cs)FIRStorageTaskSnapshot(py)progress)`\n ` \n An object which tracks the progress of an upload or download. \n\n Declaration \n Objective-C \n\n @property (nonatomic, strong, readonly) NSProgress *_Nullable progress;\n\n- `\n ``\n ``\n `\n\n [error](#/c:@M@FirebaseStorage@objc(cs)FIRStorageTaskSnapshot(py)error)`\n ` \n An error raised during task execution, or `nil` if no error occurred. \n\n Declaration \n Objective-C \n\n @property (nonatomic, readonly) NSError *_Nullable error;\n\n- `\n ``\n ``\n `\n\n [status](#/c:@M@FirebaseStorage@objc(cs)FIRStorageTaskSnapshot(py)status)`\n ` \n The status of the task. \n\n Declaration \n Objective-C \n\n @property (nonatomic, readonly) enum ../Enums/FIRStorageTaskStatus.html status;\n\n- `\n ``\n ``\n `\n\n [description](#/c:@M@FirebaseStorage@objc(cs)FIRStorageTaskSnapshot(py)description)`\n ` \n Undocumented \n\n Declaration \n Objective-C \n\n @property (nonatomic, readonly, copy) NSString * _Nonnull description\n\n- `\n ``\n ``\n `\n\n [-init](#/c:@M@FirebaseStorage@objc(cs)FIRStorageTaskSnapshot(im)init)`\n ` \n Undocumented \n\n Declaration \n Objective-C \n\n - (nonnull instancetype)init SWIFT_UNAVAILABLE;\n\n- `\n ``\n ``\n `\n\n [+new](#/c:@M@FirebaseStorage@objc(cs)FIRStorageTaskSnapshot(cm)new)`\n ` \n Undocumented \n\n Declaration \n Objective-C \n\n + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG(\"-init is unavailable\");"]]