# HlsMediaPlaylist.RenditionReport

# HlsMediaPlaylist.RenditionReport

Artifact:[androidx.media3:media3-exoplayer-hls](https://developer.android.com/jetpack/androidx/releases/media3)  
[View Source](https://cs.android.com/search?q=file:androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.java+class:androidx.media3.exoplayer.hls.playlist.HlsMediaPlaylist.RenditionReport)

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.RenditionReport "View this page in Java")

<br />

```
class HlsMediaPlaylist.RenditionReport
```

<br />

*** ** * ** ***

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

See RFC 8216bis, section 4.4.5.1.4.

## Summary

|                                                                                                                                                                                                                                             ### Public constructors                                                                                                                                                                                                                                             |
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [RenditionReport](https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.RenditionReport#RenditionReport(android.net.Uri,long,int))`(` ` playlistUri: `[Uri](https://developer.android.com/reference/android/net/Uri.html)`!,` ` lastMediaSequence: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`,` ` lastPartIndex: `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) `)` Creates a new instance. |

|                             ### Public properties                             |
|-------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html) | [lastMediaSequence](https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.RenditionReport#lastMediaSequence()) The last media sequence that is in the playlist of the reported rendition.                                                                                                                                               |
| [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)   | [lastPartIndex](https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.RenditionReport#lastPartIndex()) The last part index that is in the playlist of the reported rendition, or[INDEX_UNSET](https://developer.android.com/reference/kotlin/androidx/media3/common/C#INDEX_UNSET())if the rendition does not contain partial segments. |
| [Uri](https://developer.android.com/reference/android/net/Uri.html)`!`        | [playlistUri](https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.RenditionReport#playlistUri()) The URI of the media playlist of the reported rendition.                                                                                                                                                                             |

## Public constructors

### RenditionReport

```
RenditionReport(
    playlistUri: Uri!,
    lastMediaSequence: Long,
    lastPartIndex: Int
)
```

Creates a new instance.  

|                                             Parameters                                             |
|----------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `playlistUri: `[Uri](https://developer.android.com/reference/android/net/Uri.html)`!`              | See[playlistUri](https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.RenditionReport#playlistUri()).             |
| `lastMediaSequence: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html) | See[lastMediaSequence](https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.RenditionReport#lastMediaSequence()). |
| `lastPartIndex: `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)       | See[lastPartIndex](https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.RenditionReport#lastPartIndex()).         |

## Public properties

### lastMediaSequence

```
val lastMediaSequence: Long
```

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

### lastPartIndex

```
val lastPartIndex: Int
```

The last part index that is in the playlist of the reported rendition, or[INDEX_UNSET](https://developer.android.com/reference/kotlin/androidx/media3/common/C#INDEX_UNSET())if the rendition does not contain partial segments.  

### playlistUri

```
val playlistUri: Uri!
```

The URI of the media playlist of the reported rendition.