docs/doc/reference/com/google/android/exoplayer2/source/hls/playlist/HlsPlaylist.html
Package com.google.android.exoplayer2.source.hls.playlist
All Implemented Interfaces:FilterableManifest<HlsPlaylist>Direct Known Subclasses:HlsMediaPlaylist, HlsMultivariantPlaylist
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public abstract classHlsPlaylistextends[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")implements[FilterableManifest](../../../offline/FilterableManifest.html "interface in com.google.android.exoplayer2.offline")<[HlsPlaylist](HlsPlaylist.html "class in com.google.android.exoplayer2.source.hls.playlist")>
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.
Represents an HLS playlist.
Fields | Modifier and Type | Field | Description |
| --- | --- | --- |
| String | baseUri |
Deprecated.
The base uri.
|
| boolean | hasIndependentSegments |
Deprecated.
Whether the media is formed of independent segments, as defined by the #EXT-X-INDEPENDENT-SEGMENTS tag.
|
| List<String> | tags |
Deprecated.
The list of tags in the playlist. |
Constructors | Modifier | Constructor | Description |
| --- | --- | --- |
| protected | HlsPlaylist(String baseUri, List<String> tags, boolean hasIndependentSegments) |
Deprecated.
|
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
copy
-
public final[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")baseUri
Deprecated.
The base uri. Used to resolve relative paths.
-
public final[List](https://developer.android.com/reference/java/util/List.html "class or interface in java.util")<[String](https://developer.android.com/reference/java/lang/String.html?is-external=true "class or interface in java.lang")> tags
Deprecated.
The list of tags in the playlist.
-
public final boolean hasIndependentSegments
Deprecated.
Whether the media is formed of independent segments, as defined by the #EXT-X-INDEPENDENT-SEGMENTS tag.
-
protected HlsPlaylist([String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")baseUri,[List](https://developer.android.com/reference/java/util/List.html "class or interface in java.util")<[String](https://developer.android.com/reference/java/lang/String.html?is-external=true "class or interface in java.lang")> tags,
boolean hasIndependentSegments)
Deprecated.
Parameters:baseUri - See baseUri.tags - See tags.hasIndependentSegments - See hasIndependentSegments.