HlsMultivariantPlaylist.Rendition


class HlsMultivariantPlaylist.Rendition


A rendition (i.e. an #EXT-X-MEDIA tag) in a multivariant playlist.

Summary

Public constructors

Rendition(
    url: Uri?,
    format: Format!,
    groupId: String!,
    name: String!,
    stableRenditionId: String?
)

Public properties

Format!

Format information associated with this rendition.

String!

The group to which this rendition belongs.

String!

The name of the rendition.

String?

The stable identifier for this rendition, or null. *

Uri?

The rendition's url, or null if the tag does not have a URI attribute.

Public constructors

Rendition

Rendition(
    url: Uri?,
    format: Format!,
    groupId: String!,
    name: String!,
    stableRenditionId: String?
)
Parameters
url: Uri?

See url.

format: Format!

See format.

groupId: String!

See groupId.

name: String!

See name.

stableRenditionId: String?

See stableRenditionId.

Public properties

format

val format: Format!

Format information associated with this rendition.

groupId

val groupId: String!

The group to which this rendition belongs.

name

val name: String!

The name of the rendition.

stableRenditionId

val stableRenditionId: String?

The stable identifier for this rendition, or null. *

url

val url: Uri?

The rendition's url, or null if the tag does not have a URI attribute.