[[["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 2021-06-17 UTC."],[],[],null,["# Firebase.Storage.UploadState Class Reference\n\nFirebase.Storage.UploadState\n============================\n\n[UploadState](/docs/reference/unity/class/firebase/storage/upload-state#class_firebase_1_1_storage_1_1_upload_state) contains information for an upload in progress.\n\nSummary\n-------\n\n| ### Properties ||\n|-----------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [BytesTransferred](#class_firebase_1_1_storage_1_1_upload_state_1abf5c9c32b9fc1cd0e136fbc55e41648d) | `long` The total number of bytes uploaded so far. |\n| [Metadata](#class_firebase_1_1_storage_1_1_upload_state_1a474366246e517e1b921632a53c21bc94) | [StorageMetadata](/docs/reference/unity/class/firebase/storage/storage-metadata#class_firebase_1_1_storage_1_1_storage_metadata) |\n| **Returns** | the metadata for the object. |\n| [Reference](#class_firebase_1_1_storage_1_1_upload_state_1a14817f7ea66637c46824ff72498093f5) | [StorageReference](/docs/reference/unity/class/firebase/storage/storage-reference#class_firebase_1_1_storage_1_1_storage_reference) Returns the [StorageReference](/docs/reference/unity/class/firebase/storage/storage-reference#class_firebase_1_1_storage_1_1_storage_reference) associated with this upload. |\n| [TotalByteCount](#class_firebase_1_1_storage_1_1_upload_state_1a5cafb0080919af0de4fc2886cc7fb8b4) | `long` The total number of bytes to upload. |\n| [UploadSessionUri](#class_firebase_1_1_storage_1_1_upload_state_1a397d1e3b789456f6cda7676a5d22340c) | `Uri` |\n| **Returns** | the session Uri, valid for approximately one week, which can be used to resume an upload later by passing this value into an upload. |\n\nProperties\n----------\n\n### BytesTransferred\n\n```c#\nlong BytesTransferred\n``` \nThe total number of bytes uploaded so far.\n\n\u003cbr /\u003e\n\n| Details ||\n|-------------|--------------------------------------------|\n| **Returns** | the total number of bytes uploaded so far. |\n\n### Metadata\n\n```c#\nStorageMetadata Metadata\n``` \n\u003cbr /\u003e\n\n| Details ||\n|-------------|------------------------------|\n| **Returns** | the metadata for the object. |\n\nAfter uploading, this will return the resulting final Metadata which will include the upload URL. \n\n### Reference\n\n```c#\nStorageReference Reference\n``` \nReturns the [StorageReference](/docs/reference/unity/class/firebase/storage/storage-reference#class_firebase_1_1_storage_1_1_storage_reference) associated with this upload.\n\n\u003cbr /\u003e\n\n| Details ||\n|-------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **Returns** | the [StorageReference](/docs/reference/unity/class/firebase/storage/storage-reference#class_firebase_1_1_storage_1_1_storage_reference) associated with this upload. |\n\n### TotalByteCount\n\n```c#\nlong TotalByteCount\n``` \nThe total number of bytes to upload.\n\n\u003cbr /\u003e\n\n| Details ||\n|-------------|-------------------------------------------------------------------|\n| **Returns** | the total number of bytes to upload or -1 if the size is unknown. |\n\n### UploadSessionUri\n\n```c#\nUri UploadSessionUri\n``` \n\u003cbr /\u003e\n\n| Details ||\n|-------------|--------------------------------------------------------------------------------------------------------------------------------------|\n| **Returns** | the session Uri, valid for approximately one week, which can be used to resume an upload later by passing this value into an upload. |"]]