Package com.google.android.exoplayer2.upstream
-
Interface Summary Interface Description Allocator Deprecated. com.google.android.exoplayer2 is deprecated.Allocator.AllocationNode A node in a chain ofAllocations
.BandwidthMeter Deprecated. com.google.android.exoplayer2 is deprecated.BandwidthMeter.EventListener A listener ofBandwidthMeter
events.CmcdConfiguration.Factory Factory forCmcdConfiguration
instances.CmcdConfiguration.RequestConfig Represents configuration which can vary on each request.DataReader Deprecated. com.google.android.exoplayer2 is deprecated.DataSink Deprecated. com.google.android.exoplayer2 is deprecated.DataSink.Factory A factory forDataSink
instances.DataSource Deprecated. com.google.android.exoplayer2 is deprecated.DataSource.Factory A factory forDataSource
instances.HttpDataSource Deprecated. com.google.android.exoplayer2 is deprecated.HttpDataSource.Factory A factory forHttpDataSource
instances.Loader.Callback<T extends Loader.Loadable> A callback to be notified ofLoader
events.Loader.Loadable An object that can be loaded using aLoader
.Loader.ReleaseCallback A callback to be notified when aLoader
has finished being released.LoaderErrorThrower Deprecated. com.google.android.exoplayer2 is deprecated.LoadErrorHandlingPolicy Deprecated. com.google.android.exoplayer2 is deprecated.ParsingLoadable.Parser<T> Parses an object from loaded data.ResolvingDataSource.Resolver ResolvesDataSpecs
.TimeToFirstByteEstimator Deprecated. com.google.android.exoplayer2 is deprecated.TransferListener Deprecated. com.google.android.exoplayer2 is deprecated. -
Class Summary Class Description Allocation Deprecated. com.google.android.exoplayer2 is deprecated.AssetDataSource Deprecated. com.google.android.exoplayer2 is deprecated.BandwidthMeter.EventListener.EventDispatcher Event dispatcher which allows listener registration.BaseDataSource Deprecated. com.google.android.exoplayer2 is deprecated.ByteArrayDataSink Deprecated. com.google.android.exoplayer2 is deprecated.ByteArrayDataSource Deprecated. com.google.android.exoplayer2 is deprecated.CachedRegionTracker Deprecated. com.google.android.exoplayer2 is deprecated.CmcdConfiguration Deprecated. com.google.android.exoplayer2 is deprecated.CmcdHeadersFactory Deprecated. com.google.android.exoplayer2 is deprecated.ContentDataSource Deprecated. com.google.android.exoplayer2 is deprecated.DataSchemeDataSource Deprecated. com.google.android.exoplayer2 is deprecated.DataSourceBitmapLoader Deprecated. com.google.android.exoplayer2 is deprecated.DataSourceInputStream Deprecated. com.google.android.exoplayer2 is deprecated.DataSourceUtil Deprecated. com.google.android.exoplayer2 is deprecated.DataSpec Deprecated. com.google.android.exoplayer2 is deprecated.DataSpec.Builder BuildsDataSpec
instances.DefaultAllocator Deprecated. com.google.android.exoplayer2 is deprecated.DefaultBandwidthMeter Deprecated. com.google.android.exoplayer2 is deprecated.DefaultBandwidthMeter.Builder Builder for a bandwidth meter.DefaultDataSource Deprecated. com.google.android.exoplayer2 is deprecated.DefaultDataSource.Factory DataSource.Factory
forDefaultDataSource
instances.DefaultDataSourceFactory Deprecated. UseDefaultDataSource.Factory
instead.DefaultHttpDataSource Deprecated. com.google.android.exoplayer2 is deprecated.DefaultHttpDataSource.Factory DataSource.Factory
forDefaultHttpDataSource
instances.DefaultLoadErrorHandlingPolicy Deprecated. com.google.android.exoplayer2 is deprecated.FileDataSource Deprecated. com.google.android.exoplayer2 is deprecated.FileDataSource.Factory DataSource.Factory
forFileDataSource
instances.HttpDataSource.BaseFactory Base implementation ofHttpDataSource.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.HttpUtil Deprecated. com.google.android.exoplayer2 is deprecated.Loader Deprecated. com.google.android.exoplayer2 is deprecated.Loader.LoadErrorAction Action that can be taken in response toLoader.Callback.onLoadError(Loadable, long, long, IOException, int)
.LoaderErrorThrower.Placeholder ALoaderErrorThrower
that never throws.LoadErrorHandlingPolicy.FallbackOptions Holds information about the available fallback options.LoadErrorHandlingPolicy.FallbackSelection A selected fallback option.LoadErrorHandlingPolicy.LoadErrorInfo Holds information about a load task error.ParsingLoadable<T> Deprecated. com.google.android.exoplayer2 is deprecated.PlaceholderDataSource Deprecated. com.google.android.exoplayer2 is deprecated.PriorityDataSource Deprecated. com.google.android.exoplayer2 is deprecated.PriorityDataSource.Factory DataSource.Factory
forPriorityDataSource
instances.PriorityDataSourceFactory Deprecated. RawResourceDataSource Deprecated. com.google.android.exoplayer2 is deprecated.ResolvingDataSource Deprecated. com.google.android.exoplayer2 is deprecated.ResolvingDataSource.Factory DataSource.Factory
forResolvingDataSource
instances.SlidingPercentile Deprecated. com.google.android.exoplayer2 is deprecated.StatsDataSource Deprecated. com.google.android.exoplayer2 is deprecated.TeeDataSource Deprecated. com.google.android.exoplayer2 is deprecated.UdpDataSource Deprecated. com.google.android.exoplayer2 is deprecated. -
Exception Summary Exception Description AssetDataSource.AssetDataSourceException Thrown when anIOException
is encountered reading a local asset.ContentDataSource.ContentDataSourceException Thrown when anIOException
is encountered reading from a content URI.DataSourceException Deprecated. com.google.android.exoplayer2 is deprecated.FileDataSource.FileDataSourceException Thrown when aFileDataSource
encounters an error reading a file.HttpDataSource.CleartextNotPermittedException Thrown when cleartext HTTP traffic is not permitted.HttpDataSource.HttpDataSourceException Thrown when an error is encountered when trying to read from aHttpDataSource
.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 or error is encountered during loading.RawResourceDataSource.RawResourceDataSourceException Thrown when anIOException
is encountered reading from a raw resource.UdpDataSource.UdpDataSourceException Thrown when an error is encountered when trying to read from aUdpDataSource
. -
Annotation Types Summary Annotation Type Description CmcdConfiguration.CmcdKey Indicates that the annotated element represents a CMCD key.CmcdConfiguration.HeaderKey Header keys SHOULD be allocated to one of the four defined header names based upon their expected level of variability: CMCD-Object: keys whose values vary with the object being requested.CmcdHeadersFactory.ObjectType Indicates the media type of current object being requested.CmcdHeadersFactory.StreamingFormat Indicates the streaming format used for media content.CmcdHeadersFactory.StreamType Indicates the type of streaming for media content.DataSpec.Flags The flags that apply to any request for data.DataSpec.HttpMethod HTTP methods supported by ExoPlayerHttpDataSource
s.HttpDataSource.HttpDataSourceException.Type The type of operation that produced the error.LoadErrorHandlingPolicy.FallbackType Fallback type.