public class CachingControlEvent extends ControllerEvent
Controller that supports
the CachingControl interface. It is posted when the caching
state changes.Controller,
ControllerListener,
CachingControl,
Serialized Formsource| Constructor and Description |
|---|
CachingControlEvent(Controller from,
CachingControl cacheControl,
long progress)
Construct a
CachingControlEvent from the required elements. |
| Modifier and Type | Method and Description |
|---|---|
CachingControl |
getCachingControl()
Get the
CachingControl object that generated
the event. |
long |
getContentProgress()
Get the total number of bytes of media data that have been downloaded so far.
|
String |
toString()
Returns the String representation of this event's values.
|
getSource, getSourceControllerpublic CachingControlEvent(Controller from, CachingControl cacheControl, long progress)
CachingControlEvent from the required elements.public CachingControl getCachingControl()
CachingControl object that generated
the event.CachingControl object.public long getContentProgress()
public String toString()
toString in class ControllerEventCopyright © 2012 code4tv.com. All Rights Reserved.