docs/doc/reference/com/google/android/exoplayer2/source/chunk/ChunkHolder.html
Package com.google.android.exoplayer2.source.chunk
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public final classChunkHolderextends[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.
Holds a chunk or an indication that the end of the stream has been reached.
Fields | Modifier and Type | Field | Description |
| --- | --- | --- |
| Chunk | chunk |
Deprecated.
The chunk.
|
| boolean | endOfStream |
Deprecated.
Indicates that the end of the stream has been reached. |
Constructors | Constructor | Description |
| --- | --- |
| ChunkHolder() |
Deprecated.
|
All Methods Instance Methods Concrete Methods Deprecated Methods | Modifier and Type | Method | Description |
| --- | --- | --- |
| void | clear() |
Deprecated.
Clears the holder. |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
@Nullable
public[Chunk](Chunk.html "class in com.google.android.exoplayer2.source.chunk")chunk
Deprecated.
The chunk.
-
public boolean endOfStream
Deprecated.
Indicates that the end of the stream has been reached.
-
public ChunkHolder()
Deprecated.
-
public void clear()
Deprecated.
Clears the holder.