public interface MediaHandler
MediaHandler is the base interface for objects
that read and manage media content delivered from a
DataSource.
There are currently two supported types of MediaHandler/code>:
Player and MediaProxy.
| Modifier and Type | Method and Description |
|---|---|
void |
setSource(DataSource source)
Set the media source the
MediaHandler
should use to obtain content. |
void setSource(DataSource source) throws IOException, IncompatibleSourceException
MediaHandler
should use to obtain content.source - The DataSource used
by this MediaHandler.IOException - Thrown if there is an error
using the DataSourceIncompatibleSourceException - Thrown if
this MediaHandler cannot make use
of the DataSource.Copyright © 2012 code4tv.com. All Rights Reserved.