public class BufferProgressEvent extends PlayerEvent
| Constructor and Description |
|---|
BufferProgressEvent(double duration,
long start,
long stop,
long position)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getBufferPosition()
Get the total bytes loaded in the buffer from the 0 position.
|
long |
getBufferStart()
Get buffer start position in bytes.
|
long |
getBufferStop()
Gets the stop position of the buffer size in bytes.
|
double |
getDuration() |
public BufferProgressEvent(double duration,
long start,
long stop,
long position)
PlayerStateEvent.PlayerState.STALLEDstart - Start position of the buffersize - Total size of the buffer in bytesfill - Number of bytes loadedpublic double getDuration()
public long getBufferStart()
public long getBufferStop()
public long getBufferPosition()
Copyright © 2025. All rights reserved.