Class ChunkHolder


  • @Deprecated
    public final class ChunkHolder
    extends Object
    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 Detail

      • chunk

        @Nullable
        public 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.