Interface | Description |
---|---|
Allocator |
A source of allocations.
|
BandwidthMeter |
Provides estimates of the currently available bandwidth.
|
BandwidthMeter.EventListener |
A listener of
BandwidthMeter events. |
DataSink |
A component to which streams of data can be written.
|
DataSink.Factory |
A factory for
DataSink instances. |
DataSource |
A component from which streams of data can be read.
|
DataSource.Factory |
A factory for
DataSource instances. |
HttpDataSource |
An HTTP
DataSource . |
HttpDataSource.Factory |
A factory for
HttpDataSource instances. |
Loader.Callback<T extends Loader.Loadable> |
A callback to be notified of
Loader events. |
Loader.Loadable |
An object that can be loaded using a
Loader . |
LoaderErrorThrower |
Conditionally throws errors affecting a
Loader . |
ParsingLoadable.Parser<T> |
Parses an object from loaded data.
|
TransferListener<S> |
A listener of data transfer events.
|
Class | Description |
---|---|
Allocation |
An allocation within a byte array.
|
AssetDataSource |
A
DataSource for reading from a local asset. |
ByteArrayDataSink |
A
DataSink for writing to a byte array. |
ByteArrayDataSource |
A
DataSource for reading from a byte array. |
ContentDataSource |
A
DataSource for reading from a content URI. |
DataSourceInputStream |
Allows data corresponding to a given
DataSpec to be read from a DataSource and
consumed through an InputStream . |
DataSpec |
Defines a region of data.
|
DefaultAllocator |
Default implementation of
Allocator . |
DefaultBandwidthMeter |
Estimates bandwidth by listening to data transfers.
|
DefaultDataSource |
A
DataSource that supports multiple URI schemes. |
DefaultDataSourceFactory |
A
DataSource.Factory that produces DefaultDataSource instances that delegate to
DefaultHttpDataSource s for non-file/asset/content URIs. |
DefaultHttpDataSource |
An
HttpDataSource that uses Android's HttpURLConnection . |
DefaultHttpDataSourceFactory |
A
HttpDataSource.Factory that produces DefaultHttpDataSource instances. |
FileDataSource |
A
DataSource for reading local files. |
FileDataSourceFactory |
A
DataSource.Factory that produces FileDataSource . |
HttpDataSource.BaseFactory |
Base implementation of
HttpDataSource.Factory that sets default request properties. |
HttpDataSource.RequestProperties |
Stores HTTP request properties (aka HTTP headers) and provides methods to modify the headers
in a thread safe way to avoid the potential of creating snapshots of an inconsistent or
unintended state.
|
Loader |
Manages the background loading of
Loader.Loadable s. |
LoaderErrorThrower.Dummy |
A
LoaderErrorThrower that never throws. |
ParsingLoadable<T> |
A
Loader.Loadable for objects that can be parsed from binary data using a ParsingLoadable.Parser . |
PriorityDataSource |
A
DataSource that can be used as part of a task registered with a
PriorityTaskManager . |
PriorityDataSourceFactory |
A
DataSource.Factory that produces PriorityDataSource instances. |
RawResourceDataSource |
A
DataSource for reading a raw resource inside the APK. |
TeeDataSource |
Tees data into a
DataSink as the data is read. |
UdpDataSource |
A UDP
DataSource . |
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. |
DataSourceException |
Used to specify reason of a DataSource error.
|
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.
|
RawResourceDataSource.RawResourceDataSourceException |
Thrown when an
IOException is encountered reading from a raw resource. |
UdpDataSource.UdpDataSourceException |
Thrown when an error is encountered when trying to read from a
UdpDataSource . |
Annotation Type | Description |
---|---|
DataSpec.Flags |
The flags that apply to any request for data.
|
HttpDataSource.HttpDataSourceException.Type |