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 ofBandwidthMeterevents.CmcdConfiguration.Factory Factory forCmcdConfigurationinstances.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 forDataSinkinstances.DataSource Deprecated. com.google.android.exoplayer2 is deprecated.DataSource.Factory A factory forDataSourceinstances.HttpDataSource Deprecated. com.google.android.exoplayer2 is deprecated.HttpDataSource.Factory A factory forHttpDataSourceinstances.Loader.Callback<T extends Loader.Loadable> A callback to be notified ofLoaderevents.Loader.Loadable An object that can be loaded using aLoader.Loader.ReleaseCallback A callback to be notified when aLoaderhas 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 BuildsDataSpecinstances.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.FactoryforDefaultDataSourceinstances.DefaultDataSourceFactory Deprecated. UseDefaultDataSource.Factoryinstead.DefaultHttpDataSource Deprecated. com.google.android.exoplayer2 is deprecated.DefaultHttpDataSource.Factory DataSource.FactoryforDefaultHttpDataSourceinstances.DefaultLoadErrorHandlingPolicy Deprecated. com.google.android.exoplayer2 is deprecated.FileDataSource Deprecated. com.google.android.exoplayer2 is deprecated.FileDataSource.Factory DataSource.FactoryforFileDataSourceinstances.HttpDataSource.BaseFactory Base implementation ofHttpDataSource.Factorythat 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 ALoaderErrorThrowerthat 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.FactoryforPriorityDataSourceinstances.PriorityDataSourceFactory Deprecated. RawResourceDataSource Deprecated. com.google.android.exoplayer2 is deprecated.ResolvingDataSource Deprecated. com.google.android.exoplayer2 is deprecated.ResolvingDataSource.Factory DataSource.FactoryforResolvingDataSourceinstances.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 anIOExceptionis encountered reading a local asset.ContentDataSource.ContentDataSourceException Thrown when anIOExceptionis encountered reading from a content URI.DataSourceException Deprecated. com.google.android.exoplayer2 is deprecated.FileDataSource.FileDataSourceException Thrown when aFileDataSourceencounters 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 anIOExceptionis 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 ExoPlayerHttpDataSources.HttpDataSource.HttpDataSourceException.Type The type of operation that produced the error.LoadErrorHandlingPolicy.FallbackType Fallback type.