firebase.storage. UploadTaskSnapshot
Holds data about the current state of the upload task.
Properties
bytesTransferred
number
The number of bytes that have been successfully uploaded so far.
downloadURL
nullable string
After the upload completes, contains a long-lived download URL for the object. Also accessible in metadata.
metadata
non-null firebase.storage.FullMetadata
Before the upload completes, contains the metadata sent to the server. After the upload completes, contains the metadata sent back from the server.
ref
non-null firebase.storage.Reference
The reference that spawned this snapshot's upload task.
state
The current state of the task.
task
non-null firebase.storage.UploadTask
The task of which this is a snapshot.
totalBytes
number
The total number of bytes to be uploaded.

