@UnstableApi
abstract class HlsPlaylist : FilterableManifest

Known direct subclasses
HlsMediaPlaylist

Represents an HLS media playlist.

HlsMultivariantPlaylist

Represents an HLS multivariant playlist.


Represents an HLS playlist.

Summary

Protected constructors

HlsPlaylist(
    baseUri: String!,
    tags: (Mutable)List<String!>!,
    hasIndependentSegments: Boolean
)

Public properties

String!

The base uri.

Boolean

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

(Mutable)List<String!>!

The list of tags in the playlist.

Inherited functions

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

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

Protected constructors

HlsPlaylist

protected HlsPlaylist(
    baseUri: String!,
    tags: (Mutable)List<String!>!,
    hasIndependentSegments: Boolean
)
Parameters
baseUri: String!

See baseUri.

tags: (Mutable)List<String!>!

See tags.

hasIndependentSegments: Boolean

See hasIndependentSegments.

Public properties

baseUri

val baseUri: String!

The base uri. Used to resolve relative paths.

hasIndependentSegments

val hasIndependentSegments: Boolean

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

tags

val tags: (Mutable)List<String!>!

The list of tags in the playlist.