| Interface | Description |
|---|---|
| Allocator |
A source of allocations.
|
| BandwidthMeter |
Provides estimates of the currently available bandwidth.
|
| BandwidthMeter.EventListener |
Interface definition for a callback to be notified of
BandwidthMeter events. |
| DataSink |
A component that consumes media data.
|
| DataSource |
A component that provides media data.
|
| HttpDataSource |
An HTTP specific extension to
UriDataSource. |
| Loader.Callback |
Interface definition for a callback to be notified of
Loader events. |
| Loader.Loadable |
Interface definition of an object that can be loaded using a
Loader. |
| TransferListener |
Interface definition for a callback to be notified of data transfer events.
|
| UriDataSource |
A component that provides media data from a URI.
|
| UriLoadable.Parser<T> |
Parses an object from loaded data.
|
| Class | Description |
|---|---|
| Allocation |
An allocation within a byte array.
|
| AssetDataSource |
A local asset
UriDataSource. |
| ByteArrayDataSink |
A
DataSink for writing to a byte array. |
| ByteArrayDataSource |
A
DataSource for reading from a byte array. |
| ContentDataSource |
A content URI
UriDataSource. |
| DataSourceInputStream |
Allows data corresponding to a given
DataSpec to be read from a DataSource and
consumed as an InputStream. |
| DataSpec |
Defines a region of media data.
|
| DefaultAllocator |
Default implementation of
Allocator. |
| DefaultBandwidthMeter |
Counts transferred bytes while transfers are open and creates a bandwidth sample and updated
bandwidth estimate each time a transfer ends.
|
| DefaultHttpDataSource |
A
HttpDataSource that uses Android's HttpURLConnection. |
| DefaultUriDataSource |
A
UriDataSource that supports multiple URI schemes. |
| FileDataSource |
A local file
UriDataSource. |
| Loader |
Manages the background loading of
Loader.Loadables. |
| NetworkLock |
A network task prioritization mechanism.
|
| PriorityDataSource |
Allows
PriorityDataSource.open(DataSpec) and PriorityDataSource.read(byte[], int, int) calls only if the specified
priority is the highest priority of any task. |
| TeeDataSource |
Tees data into a
DataSink as the data is read. |
| UdpDataSource |
A UDP
DataSource. |
| UriLoadable<T> |
A
Loader.Loadable for loading an object from a URI. |
| Exception | Description |
|---|---|
| AssetDataSource.AssetDataSourceException |
Thrown when an
IOException is encountered reading a local asset. |
| ContentDataSource.ContentDataSourceException |
Thrown when an
IOException is encountered reading from a content URI. |
| FileDataSource.FileDataSourceException |
Thrown when IOException is encountered during local file read operation.
|
| HttpDataSource.HttpDataSourceException |
Thrown when an error is encountered when trying to read from a
HttpDataSource. |
| HttpDataSource.InvalidContentTypeException |
Thrown when the content type is invalid.
|
| HttpDataSource.InvalidResponseCodeException |
Thrown when an attempt to open a connection results in a response code not in the 2xx range.
|
| Loader.UnexpectedLoaderException |
Thrown when an unexpected exception is encountered during loading.
|
| NetworkLock.PriorityTooLowException |
Thrown when a task is attempts to proceed when it does not have the highest priority.
|
| UdpDataSource.UdpDataSourceException |
Thrown when an error is encountered when trying to read from a
UdpDataSource. |