public final class ChunkOperationHolder
extends java.lang.Object
MediaChunk
s that should be retained on the queue (queueSize
)
together with the next Chunk
to load (chunk
). chunk
may be null if the
next chunk cannot be provided yet.endOfStream
).Modifier and Type | Field and Description |
---|---|
Chunk |
chunk
The chunk.
|
boolean |
endOfStream
Indicates that the end of the stream has been reached.
|
int |
queueSize
The number of
MediaChunk s to retain in a queue. |
Constructor and Description |
---|
ChunkOperationHolder() |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears the holder.
|
public int queueSize
MediaChunk
s to retain in a queue.public Chunk chunk
public boolean endOfStream