Stay organized with collections
Save and categorize content based on your preferences.
Properties
bytesTransferred
bytesTransferred: number
totalBytes
totalBytes: number
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-07-27 UTC.
[null,null,["Last updated 2022-07-27 UTC."],[],[],null,["- [firebase](/docs/reference/node/firebase).\n- [storage](/docs/reference/node/firebase.storage).\n- UploadTaskSnapshot \nHolds data about the current state of the upload task.\n\nIndex\n\nProperties\n\n- [bytesTransferred](/docs/reference/node/firebase.storage.UploadTaskSnapshot#bytestransferred)\n- [metadata](/docs/reference/node/firebase.storage.UploadTaskSnapshot#metadata)\n- [ref](/docs/reference/node/firebase.storage.UploadTaskSnapshot#ref)\n- [state](/docs/reference/node/firebase.storage.UploadTaskSnapshot#state)\n- [task](/docs/reference/node/firebase.storage.UploadTaskSnapshot#task)\n- [totalBytes](/docs/reference/node/firebase.storage.UploadTaskSnapshot#totalbytes)\n\nProperties\n\nbytesTransferred \nbytesTransferred: number \nThe number of bytes that have been successfully uploaded so far.\n\nmetadata \nmetadata: [FullMetadata](/docs/reference/node/firebase.storage.FullMetadata) \nBefore the upload completes, contains the metadata sent to the server.\nAfter the upload completes, contains the metadata sent back from the server.\n\nref \nref: [Reference](/docs/reference/node/firebase.storage.Reference) \nThe reference that spawned this snapshot's upload task.\n\nstate \nstate: [TaskState](/docs/reference/node/firebase.storage#taskstate) \nThe current state of the task.\n\ntask \ntask: [UploadTask](/docs/reference/node/firebase.storage.UploadTask) \nThe task of which this is a snapshot.\n\ntotalBytes \ntotalBytes: number \nThe total number of bytes to be uploaded."]]
Holds data about the current state of the upload task.