public final class

HlsMediaPlaylist.RenditionReport

extends java.lang.Object

 java.lang.Object

↳androidx.media3.exoplayer.hls.playlist.HlsMediaPlaylist.RenditionReport

Overview

A rendition report for an alternative rendition defined in another media playlist.

See RFC 8216, section 4.4.5.1.4.

Summary

Fields
public final longlastMediaSequence

The last media sequence that is in the playlist of the reported rendition.

public final intlastPartIndex

The last part index that is in the playlist of the reported rendition, or C.INDEX_UNSET if the rendition does not contain partial segments.

public final UriplaylistUri

The URI of the media playlist of the reported rendition.

Constructors
publicRenditionReport(Uri playlistUri, long lastMediaSequence, int lastPartIndex)

Creates a new instance.

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

Fields

public final Uri playlistUri

The URI of the media playlist of the reported rendition.

public final long lastMediaSequence

The last media sequence that is in the playlist of the reported rendition.

public final int lastPartIndex

The last part index that is in the playlist of the reported rendition, or C.INDEX_UNSET if the rendition does not contain partial segments.

Constructors

public RenditionReport(Uri playlistUri, long lastMediaSequence, int lastPartIndex)

Creates a new instance.

Parameters:

playlistUri: See HlsMediaPlaylist.RenditionReport.playlistUri.
lastMediaSequence: See HlsMediaPlaylist.RenditionReport.lastMediaSequence.
lastPartIndex: See HlsMediaPlaylist.RenditionReport.lastPartIndex.