FirebaseStorage Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
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
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
-
Declaration
Objective-C
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
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 2023-08-23 UTC.
[null,null,["Last updated 2023-08-23 UTC."],[],[],null,["FIRStorageTask \n\n\n @interface FIRStorageTask : NSObject\n\nA superclass to all Storage tasks, including `StorageUploadTask`\nand `StorageDownloadTask`, to provide state transitions, event raising, and common storage\nfor metadata and errors.\nCallbacks are always fired on the developer-specified callback queue.\nIf no queue is specified, it defaults to the main queue.\nThis class is thread-safe.\n- `\n ``\n ``\n `\n\n [snapshot](#/c:@M@FirebaseStorage@objc(cs)FIRStorageTask(py)snapshot)`\n ` \n An immutable view of the task and associated metadata, progress, error, etc. \n\n Declaration \n Objective-C \n\n @property (nonatomic, strong, readonly) ../Classes/FIRStorageTaskSnapshot.html *_Nonnull snapshot;\n\n- `\n ``\n ``\n `\n\n [-init](#/c:@M@FirebaseStorage@objc(cs)FIRStorageTask(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)FIRStorageTask(cm)new)`\n ` \n Undocumented \n\n Declaration \n Objective-C \n\n + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG(\"-init is unavailable\");"]]