# DownloadProgress

# DownloadProgress

Artifact: [androidx.media3:media3-exoplayer](https://developer.android.com/jetpack/androidx/releases/media3)  
[View Source](https://cs.android.com/search?q=file:androidx/media3/exoplayer/offline/DownloadProgress.java+class:androidx.media3.exoplayer.offline.DownloadProgress)

*** ** * ** ***

Kotlin \|[Java](https://developer.android.com/reference/androidx/media3/exoplayer/offline/DownloadProgress "View this page in Java")


```
@UnstableApi
class DownloadProgress
```

<br />

*** ** * ** ***

Mutable [Download](https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/offline/Download) progress.

## Summary

|                                                           ### Public constructors                                                            |
|----------------------------------------------------------------------------------------------------------------------------------------------|
| [DownloadProgress](https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/offline/DownloadProgress#DownloadProgress())`()` |

|                                   ### Public properties                                    |
|--------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `volatile `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)   | [bytesDownloaded](https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/offline/DownloadProgress#bytesDownloaded()) The number of bytes that have been downloaded.                                                                                                                             |
| `volatile `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html) | [percentDownloaded](https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/offline/DownloadProgress#percentDownloaded()) The percentage that has been downloaded, or [PERCENTAGE_UNSET](https://developer.android.com/reference/kotlin/androidx/media3/common/C#PERCENTAGE_UNSET()) if unknown. |

## Public constructors

### DownloadProgress

```
DownloadProgress()
```  

## Public properties

### bytesDownloaded

```
volatile val bytesDownloaded: Long
```

The number of bytes that have been downloaded.  

### percentDownloaded

```
volatile val percentDownloaded: Float
```

The percentage that has been downloaded, or [PERCENTAGE_UNSET](https://developer.android.com/reference/kotlin/androidx/media3/common/C#PERCENTAGE_UNSET()) if unknown.