public final class

HlsMultivariantPlaylist.Rendition

extends java.lang.Object

 java.lang.Object

↳androidx.media3.exoplayer.hls.playlist.HlsMultivariantPlaylist.Rendition

Overview

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

Summary

Fields
public final Formatformat

Format information associated with this rendition.

public final java.lang.StringgroupId

The group to which this rendition belongs.

public final java.lang.Stringname

The name of the rendition.

public final Uriurl

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

Constructors
publicRendition(Uri url, Format format, java.lang.String groupId, java.lang.String name)

Methods
from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Fields

public final Uri url

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

public final Format format

Format information associated with this rendition.

public final java.lang.String groupId

The group to which this rendition belongs.

public final java.lang.String name

The name of the rendition.

Constructors

public Rendition(Uri url, Format format, java.lang.String groupId, java.lang.String name)

Parameters:

url: See HlsMultivariantPlaylist.Rendition.url.
format: See HlsMultivariantPlaylist.Rendition.format.
groupId: See HlsMultivariantPlaylist.Rendition.groupId.
name: See HlsMultivariantPlaylist.Rendition.name.