Back to Exoplayer

Package com.google.android.exoplayer2.upstream

docs/doc/reference/com/google/android/exoplayer2/upstream/package-summary.html

latest18.2 KB
Original Source

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 of Allocations. | | BandwidthMeter | Deprecated. com.google.android.exoplayer2 is deprecated. | | BandwidthMeter.EventListener | A listener of BandwidthMeter events. | | CmcdConfiguration.Factory | Factory for CmcdConfiguration 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 for DataSink instances. | | DataSource | Deprecated. com.google.android.exoplayer2 is deprecated. | | DataSource.Factory | A factory for DataSource instances. | | HttpDataSource | Deprecated. com.google.android.exoplayer2 is deprecated. | | 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. | | Loader.ReleaseCallback | A callback to be notified when a Loader 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 | Resolves DataSpecs. | | 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 | Builds DataSpec 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 for DefaultDataSource instances. | | DefaultDataSourceFactory | Deprecated. Use DefaultDataSource.Factory instead. | | DefaultHttpDataSource | Deprecated. com.google.android.exoplayer2 is deprecated. | | DefaultHttpDataSource.Factory | DataSource.Factory for DefaultHttpDataSource instances. | | DefaultLoadErrorHandlingPolicy | Deprecated. com.google.android.exoplayer2 is deprecated. | | FileDataSource | Deprecated. com.google.android.exoplayer2 is deprecated. | | FileDataSource.Factory | DataSource.Factory for FileDataSource instances. | | 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. | | 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 to Loader.Callback.onLoadError(Loadable, long, long, IOException, int). | | LoaderErrorThrower.Placeholder | A LoaderErrorThrower 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 for PriorityDataSource instances. | | PriorityDataSourceFactory | Deprecated. Use PriorityDataSource.Factory. | | RawResourceDataSource | Deprecated. com.google.android.exoplayer2 is deprecated. | | ResolvingDataSource | Deprecated. com.google.android.exoplayer2 is deprecated. | | ResolvingDataSource.Factory | DataSource.Factory for ResolvingDataSource 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 an IOException is encountered reading a local asset. | | ContentDataSource.ContentDataSourceException | Thrown when an IOException is encountered reading from a content URI. | | DataSourceException | Deprecated. com.google.android.exoplayer2 is deprecated. | | FileDataSource.FileDataSourceException | Thrown when a FileDataSource 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 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 or error 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 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 ExoPlayer HttpDataSources. | | HttpDataSource.HttpDataSourceException.Type | The type of operation that produced the error. | | LoadErrorHandlingPolicy.FallbackType | Fallback type. |