[[["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.DownloadState Class Reference\n\nFirebase.Storage.DownloadState\n==============================\n\n[DownloadState](/docs/reference/unity/class/firebase/storage/download-state#class_firebase_1_1_storage_1_1_download_state) contains information for a download in progress.\n\nSummary\n-------\n\nIt is sent to a StorageProgress handler during the operation.\n\n| ### Properties ||\n|-------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [BytesTransferred](#class_firebase_1_1_storage_1_1_download_state_1aa44d93d22909420964fa83194e67d152) | `long` The total number of bytes downloaded so far. |\n| [Reference](#class_firebase_1_1_storage_1_1_download_state_1a02f50301ed03af0465c7ad4897890ee0) | [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 download. |\n| [TotalByteCount](#class_firebase_1_1_storage_1_1_download_state_1ad6fed86074c174a64873b52fe1936731) | `long` The total number of bytes to download. |\n\nProperties\n----------\n\n### BytesTransferred\n\n```c#\nlong BytesTransferred\n``` \nThe total number of bytes downloaded so far.\n\n\u003cbr /\u003e\n\n| Details ||\n|-------------|----------------------------------------------|\n| **Returns** | the total number of bytes downloaded so far. |\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 download.\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 download. |\n\n### TotalByteCount\n\n```c#\nlong TotalByteCount\n``` \nThe total number of bytes to download.\n\n\u003cbr /\u003e\n\n| Details ||\n|-------------|---------------------------------------------------------------------|\n| **Returns** | The total number of bytes to download or -1 if the size is unknown. |"]]