javax.media
接口 ExtendedCachingControl
- 所有超级接口:
- CachingControl, Control
public interface ExtendedCachingControl
- extends CachingControl
- 从以下版本开始:
- JMF 2.0
setBufferSize
void setBufferSize(Time t)
- Block until you have buffered up t.getSeconds() seconds
of data. Can be tricky to implement for non-interleaved
quicktime or avi files with all the audio in the beginning and all the
video at the end
getBufferSize
Time getBufferSize()
pauseDownload
void pauseDownload()
- If downloading is in progress, it will be paused
resumeDownload
void resumeDownload()
- If downloading was paused, it will be resumed
getStartOffset
long getStartOffset()
getEndOffset
long getEndOffset()
addDownloadProgressListener
void addDownloadProgressListener(DownloadProgressListener l,
int numKiloBytes)
removeDownloadProgressListener
void removeDownloadProgressListener(DownloadProgressListener l)