FirebaseStorage Framework Reference

FIRStorageUploadTask


@interface FIRStorageUploadTask
    : FIRStorageObservableTask <FIRStorageTaskManagement>

StorageUploadTask implements resumable uploads to a file in Firebase Storage. Uploads can be returned on completion with a completion callback, and can be monitored by attaching observers, or controlled by calling pause(), resume(), or cancel(). Uploads can be initialized from Data in memory, or a URL to a file on disk. Uploads are performed on a background queue, and callbacks are raised on the developer specified callbackQueue in Storage, or the main queue if unspecified.

  • Prepares a task and begins execution.

    Declaration

    Objective-C

    - (void)enqueue;
  • Pauses a task currently in progress.

    Declaration

    Objective-C

    - (void)pause;
  • Cancels a task.

    Declaration

    Objective-C

    - (void)cancel;
  • Resumes a paused task.

    Declaration

    Objective-C

    - (void)resume;