Class PriorityDataSourceFactory
- java.lang.Object
-
- com.google.android.exoplayer2.upstream.PriorityDataSourceFactory
-
- All Implemented Interfaces:
DataSource.Factory
@Deprecated public final class PriorityDataSourceFactory extends Object implements DataSource.Factory
Deprecated.
-
-
Constructor Summary
Constructors Constructor Description PriorityDataSourceFactory(DataSource.Factory upstreamFactory, PriorityTaskManager priorityTaskManager, int priority)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description PriorityDataSource
createDataSource()
Deprecated.Creates aDataSource
instance.
-
-
-
Constructor Detail
-
PriorityDataSourceFactory
public PriorityDataSourceFactory(DataSource.Factory upstreamFactory, PriorityTaskManager priorityTaskManager, int priority)
Deprecated.- Parameters:
upstreamFactory
- ADataSource.Factory
to be used to create an upstreamDataSource
forPriorityDataSource
.priorityTaskManager
- The priority manager to which PriorityDataSource task is registered.priority
- The priority of PriorityDataSource task.
-
-
Method Detail
-
createDataSource
public PriorityDataSource createDataSource()
Deprecated.Description copied from interface:DataSource.Factory
Creates aDataSource
instance.- Specified by:
createDataSource
in interfaceDataSource.Factory
-
-