# 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)

*** ** * ** ***


```
@UnstableApi
public class DownloadProgress
```

<br />

*** ** * ** ***

Mutable `https://developer.android.com/reference/androidx/media3/exoplayer/offline/Download` progress.

## Summary

| ### Public fields |
|---|---|
| `volatile long` | `https://developer.android.com/reference/androidx/media3/exoplayer/offline/DownloadProgress#bytesDownloaded()` The number of bytes that have been downloaded. |
| `volatile float` | `https://developer.android.com/reference/androidx/media3/exoplayer/offline/DownloadProgress#percentDownloaded()` The percentage that has been downloaded, or `https://developer.android.com/reference/androidx/media3/common/C#PERCENTAGE_UNSET()` if unknown. |

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

## Public fields

### bytesDownloaded

```
volatile public long bytesDownloaded
```

The number of bytes that have been downloaded.

### percentDownloaded

```
volatile public float percentDownloaded
```

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

## Public constructors

### DownloadProgress

```
public DownloadProgress()
```