@UnstableApi
public abstract class HlsPlaylist implements FilterableManifest

Known direct subclasses
HlsMediaPlaylist

Represents an HLS media playlist.

HlsMultivariantPlaylist

Represents an HLS multivariant playlist.


Represents an HLS playlist.

Summary

Public fields

final String

The base uri.

final boolean

Whether the media is formed of independent segments, as defined by the #EXT-X-INDEPENDENT-SEGMENTS tag.

final List<String>

The list of tags in the playlist.

Protected constructors

HlsPlaylist(
    String baseUri,
    List<String> tags,
    boolean hasIndependentSegments
)

Inherited methods

From androidx.media3.exoplayer.offline.FilterableManifest
abstract T
copy(List<StreamKey> streamKeys)

Returns a copy of the manifest including only the streams specified by the given keys.

Public fields

baseUri

public final String baseUri

The base uri. Used to resolve relative paths.

hasIndependentSegments

public final boolean hasIndependentSegments

Whether the media is formed of independent segments, as defined by the #EXT-X-INDEPENDENT-SEGMENTS tag.

tags

public final List<Stringtags

The list of tags in the playlist.

Protected constructors

HlsPlaylist

protected HlsPlaylist(
    String baseUri,
    List<String> tags,
    boolean hasIndependentSegments
)
Parameters
String baseUri

See baseUri.

List<String> tags

See tags.

boolean hasIndependentSegments

See hasIndependentSegments.