docs/doc/reference/com/google/android/exoplayer2/source/hls/HlsDataSourceFactory.html
Package com.google.android.exoplayer2.source.hls
DefaultHlsDataSourceFactory[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public interfaceHlsDataSourceFactory
Deprecated. com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
Creates DataSources for HLS playlists, encryption and media chunks.
All Methods Instance Methods Abstract Methods Deprecated Methods | Modifier and Type | Method | Description |
| --- | --- | --- |
| DataSource | createDataSource(@com.google.android.exoplayer2.C.DataType int dataType) |
Deprecated.
Creates a DataSource for the given data type.
|
-
[DataSource](../../upstream/DataSource.html "interface in com.google.android.exoplayer2.upstream")createDataSource(@com.google.android.exoplayer2.C.DataType int dataType)
Deprecated.
Creates a DataSource for the given data type.
Parameters:dataType - The C.DataType for which the DataSource will be used.Returns:A DataSource for the given data type.