docs/doc/reference/com/google/android/exoplayer2/source/hls/playlist/HlsMediaPlaylist.RenditionReport.html
Package com.google.android.exoplayer2.source.hls.playlist
Enclosing class:HlsMediaPlaylist
public static final classHlsMediaPlaylist.RenditionReportextends[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")
A rendition report for an alternative rendition defined in another media playlist.
See RFC 8216, section 4.4.5.1.4.
Fields | Modifier and Type | Field | Description |
| --- | --- | --- |
| long | lastMediaSequence |
The last media sequence that is in the playlist of the reported rendition.
|
| 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.
|
| Uri | playlistUri |
The URI of the media playlist of the reported rendition.
|
Constructors | Constructor | Description |
| --- | --- |
| RenditionReport(Uri playlistUri, long lastMediaSequence, int lastPartIndex) |
Creates a new instance.
|
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
public final[Uri](https://developer.android.com/reference/android/net/Uri.html "class or interface in android.net")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.
-
public RenditionReport([Uri](https://developer.android.com/reference/android/net/Uri.html "class or interface in android.net")playlistUri,
long lastMediaSequence,
int lastPartIndex)
Creates a new instance.
Parameters:playlistUri - See playlistUri.lastMediaSequence - See lastMediaSequence.lastPartIndex - See lastPartIndex.