androidx.media3.datasource
Annotations
DataSpec.Flags |
The flags that apply to any request for data. |
DataSpec.HttpMethod |
HTTP methods supported by ExoPlayer |
HttpDataSource.HttpDataSourceException.Type |
The type of operation that produced the error. |
Interfaces
ByteArrayDataSource.UriResolver |
Functional interface to resolve from |
DataSink |
A component to which streams of data can be written. |
DataSink.Factory |
A factory for |
DataSource |
Reads data from URI-identified resources. |
DataSource.Factory |
A factory for |
HttpDataSource |
An HTTP |
HttpDataSource.Factory |
A factory for |
ResolvingDataSource.Resolver |
Resolves |
TransferListener |
A listener of data transfer events. |
Classes
AesCipherDataSink |
A wrapping |
AesCipherDataSource |
A |
AesFlushingCipher |
A flushing variant of a AES/CTR/NoPadding |
AssetDataSource |
A |
BaseDataSource |
Base |
BitmapUtil |
Utility methods for |
ByteArrayDataSink |
A |
ByteArrayDataSource |
A |
ContentDataSource |
A |
DataSchemeDataSource |
A |
DataSourceBitmapLoader |
A |
DataSourceInputStream |
Allows data corresponding to a given |
DataSourceUtil |
Utility methods for |
DataSpec |
Defines a region of data in a resource. |
DataSpec.Builder |
Builds |
DefaultDataSource |
A |
DefaultDataSource.Factory |
|
DefaultDataSourceFactory |
This class is deprecated. Use |
DefaultHttpDataSource |
An |
DefaultHttpDataSource.Factory |
|
FileDataSource |
A |
FileDataSource.Factory |
|
FileDescriptorDataSource |
A |
HttpDataSource.BaseFactory |
Base implementation of |
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. |
HttpEngineDataSource |
DataSource without intermediate buffer based on |
HttpEngineDataSource.Factory |
|
HttpUtil |
Utility methods for HTTP. |
MediaDataSourceAdapter |
A |
PlaceholderDataSource |
A DataSource which provides no data. |
PriorityDataSource |
A |
PriorityDataSource.Factory |
|
PriorityDataSourceFactory |
This class is deprecated. |
RawResourceDataSource |
A |
ResolvingDataSource |
|
ResolvingDataSource.Factory |
|
StatsDataSource |
|
TeeDataSource |
Tees data into a |
UdpDataSource |
A UDP |
Exceptions
AssetDataSource.AssetDataSourceException |
Thrown when an |
ContentDataSource.ContentDataSourceException |
Thrown when an |
DataSourceException |
Used to specify reason of a DataSource error. |
FileDataSource.FileDataSourceException |
Thrown when a |
HttpDataSource.CleartextNotPermittedException |
Thrown when cleartext HTTP traffic is not permitted. |
HttpDataSource.HttpDataSourceException |
Thrown when an error is encountered when trying to read from a |
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. |
HttpEngineDataSource.OpenException |
Thrown when an error is encountered when trying to open a |
RawResourceDataSource.RawResourceDataSourceException |
Thrown when an |
UdpDataSource.UdpDataSourceException |
Thrown when an error is encountered when trying to read from a |