Back to Exoplayer

DownloadProgress (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/offline/DownloadProgress.html

latest2.1 KB
Original Source

Package com.google.android.exoplayer2.offline

Class DownloadProgress


[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public classDownloadProgressextends[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")

Deprecated. com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.

Mutable Download progress.

Field Summary

Fields | Modifier and Type | Field | Description | | --- | --- | --- | | long | bytesDownloaded | Deprecated.

The number of bytes that have been downloaded. | | float | percentDownloaded | Deprecated.

The percentage that has been downloaded, or C.PERCENTAGE_UNSET if unknown. |

Constructor Summary

Constructors | Constructor | Description | | --- | --- | | DownloadProgress() | Deprecated. |

Method Summary

- 

Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail

- 

bytesDownloaded

public volatile long bytesDownloaded

Deprecated.

The number of bytes that have been downloaded.

- 

percentDownloaded

public volatile float percentDownloaded

Deprecated.

The percentage that has been downloaded, or C.PERCENTAGE_UNSET if unknown.

Constructor Detail

- 

DownloadProgress

public DownloadProgress()

Deprecated.