docs/doc/reference/com/google/android/exoplayer2/upstream/PriorityDataSourceFactory.html
Package com.google.android.exoplayer2.upstream
All Implemented Interfaces:DataSource.Factory
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public final classPriorityDataSourceFactoryextends[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")
Deprecated.
Use PriorityDataSource.Factory.
Constructors | Constructor | Description |
| --- | --- |
| PriorityDataSourceFactory(DataSource.Factory upstreamFactory, PriorityTaskManager priorityTaskManager, int priority) |
Deprecated.
|
All Methods Instance Methods Concrete Methods Deprecated Methods | Modifier and Type | Method | Description |
| --- | --- | --- |
| PriorityDataSource | createDataSource() |
Deprecated.
Creates a DataSource instance.
|
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
public PriorityDataSourceFactory([DataSource.Factory](DataSource.Factory.html "interface in com.google.android.exoplayer2.upstream")upstreamFactory,[PriorityTaskManager](../util/PriorityTaskManager.html "class in com.google.android.exoplayer2.util")priorityTaskManager,
int priority)
Deprecated.
Parameters:upstreamFactory - A DataSource.Factory to be used to create an upstream DataSource for PriorityDataSource.priorityTaskManager - The priority manager to which PriorityDataSource task is registered.priority - The priority of PriorityDataSource task.
-
public[PriorityDataSource](PriorityDataSource.html "class in com.google.android.exoplayer2.upstream")createDataSource()
Deprecated.
Description copied from interface: DataSource.Factory
Creates a DataSource instance.
Specified by:createDataSource in interface DataSource.Factory