docs/doc/reference/com/google/android/exoplayer2/upstream/ResolvingDataSource.Factory.html
Package com.google.android.exoplayer2.upstream
All Implemented Interfaces:DataSource.FactoryEnclosing class:ResolvingDataSource
public static final classResolvingDataSource.Factoryextends[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")implements[DataSource.Factory](DataSource.Factory.html "interface in com.google.android.exoplayer2.upstream")
DataSource.Factory for ResolvingDataSource instances.
Constructors | Constructor | Description |
| --- | --- |
| Factory(DataSource.Factory upstreamFactory, ResolvingDataSource.Resolver resolver) | |
All Methods Instance Methods Concrete Methods | Modifier and Type | Method | Description |
| --- | --- | --- |
| ResolvingDataSource | createDataSource() |
Creates a DataSource instance.
|
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
public Factory([DataSource.Factory](DataSource.Factory.html "interface in com.google.android.exoplayer2.upstream")upstreamFactory,[ResolvingDataSource.Resolver](ResolvingDataSource.Resolver.html "interface in com.google.android.exoplayer2.upstream")resolver)
Parameters:upstreamFactory - The wrapped DataSource.Factory for handling resolved DataSpecs.resolver - The ResolvingDataSource.Resolver to resolve the DataSpecs.
-
public[ResolvingDataSource](ResolvingDataSource.html "class in com.google.android.exoplayer2.upstream")createDataSource()
Description copied from interface: DataSource.Factory
Creates a DataSource instance.
Specified by:createDataSource in interface DataSource.Factory