Back to Exoplayer

ChunkHolder (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/source/chunk/ChunkHolder.html

latest2.3 KB
Original Source

Package com.google.android.exoplayer2.source.chunk

Class ChunkHolder


[@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.

Field Summary

Fields | Modifier and Type | Field | Description | | --- | --- | --- | | Chunk | chunk | Deprecated.

The chunk. | | boolean | endOfStream | Deprecated.

Indicates that the end of the stream has been reached. |

Constructor Summary

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

Method Summary

All Methods Instance Methods Concrete Methods Deprecated Methods | Modifier and Type | Method | Description | | --- | --- | --- | | void | clear() | Deprecated.

Clears the holder. |

- 

Methods inherited from class java.lang.Object

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

Field Detail

- 

chunk

@Nullable
public[Chunk](Chunk.html "class in com.google.android.exoplayer2.source.chunk")chunk

Deprecated.

The chunk.

- 

endOfStream

public boolean endOfStream

Deprecated.

Indicates that the end of the stream has been reached.

Constructor Detail

- 

ChunkHolder

public ChunkHolder()

Deprecated.

Method Detail

- 

clear

public void clear()

Deprecated.

Clears the holder.