All Packages Class Hierarchy This Package Previous Next Index
CachingControl is an interface supported by Players
that are capable of reporting download progress.
Typically, this control is accessed through
the Controller.getControls method.
A Controller that supports this control will post
CachingControlEvents often enough to support the implementation
of custom progress GUIs.
CachingControl doesn't
know how long the content is.The definition is: LENGTH_UNKNOWN == Long.MAX_VALUE
Component that provides additional download control.
Component for displaying the download progress.
public static final long LENGTH_UNKNOWN
CachingControl doesn't
know how long the content is.The definition is: LENGTH_UNKNOWN == Long.MAX_VALUE
public abstract boolean isDownloading()
true if media is being downloaded;
otherwise returns false.
.
public abstract long getContentLength()
LENGTH_UNKNOWN if this information is not available.
LENGTH_UNKNOWN.
public abstract long getContentProgress()
public abstract Component getProgressBarComponent()
Component for displaying the download progress.
public abstract Component getControlComponent()
Component that provides additional download control.
Returns null if only a progress bar is provided.
All Packages Class Hierarchy This Package Previous Next Index