# HlsMultivariantPlaylist.Rendition

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/HlsMultivariantPlaylist.java+class:androidx.media3.exoplayer.hls.playlist.HlsMultivariantPlaylist.Rendition)

*** ** * ** ***


```
public final class HlsMultivariantPlaylist.Rendition
```

<br />

*** ** * ** ***

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

## Summary

| ### Public fields |
|---|---|
| `final https://developer.android.com/reference/androidx/media3/common/Format` | `https://developer.android.com/reference/androidx/media3/exoplayer/hls/playlist/HlsMultivariantPlaylist.Rendition#format()` Format information associated with this rendition. |
| `final https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/media3/exoplayer/hls/playlist/HlsMultivariantPlaylist.Rendition#groupId()` The group to which this rendition belongs. |
| `final https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/media3/exoplayer/hls/playlist/HlsMultivariantPlaylist.Rendition#name()` The name of the rendition. |
| `final @https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/media3/exoplayer/hls/playlist/HlsMultivariantPlaylist.Rendition#stableRenditionId()` The stable identifier for this rendition, or `null`. \* |
| `final @https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/android/net/Uri.html` | `https://developer.android.com/reference/androidx/media3/exoplayer/hls/playlist/HlsMultivariantPlaylist.Rendition#url()` The rendition's url, or null if the tag does not have a URI attribute. |

| ### Public constructors |
|---|
| `https://developer.android.com/reference/androidx/media3/exoplayer/hls/playlist/HlsMultivariantPlaylist.Rendition#Rendition(android.net.Uri,androidx.media3.common.Format,java.lang.String,java.lang.String,java.lang.String)( @https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/android/net/Uri.html url, https://developer.android.com/reference/androidx/media3/common/Format format, https://developer.android.com/reference/java/lang/String.html groupId, https://developer.android.com/reference/java/lang/String.html name, @https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/java/lang/String.html stableRenditionId )` |

## Public fields

### format

```
public final Format format
```

Format information associated with this rendition.

### groupId

```
public final String groupId
```

The group to which this rendition belongs.

### name

```
public final String name
```

The name of the rendition.

### stableRenditionId

```
public final @Nullable String stableRenditionId
```

The stable identifier for this rendition, or `null`. \*

### url

```
public final @Nullable Uri url
```

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

## Public constructors

### Rendition

```
public Rendition(
    @Nullable Uri url,
    Format format,
    String groupId,
    String name,
    @Nullable String stableRenditionId
)
```

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/android/net/Uri.html url` | See `https://developer.android.com/reference/androidx/media3/exoplayer/hls/playlist/HlsMultivariantPlaylist.Rendition#url()`. |
| `https://developer.android.com/reference/androidx/media3/common/Format format` | See `https://developer.android.com/reference/androidx/media3/exoplayer/hls/playlist/HlsMultivariantPlaylist.Rendition#format()`. |
| `https://developer.android.com/reference/java/lang/String.html groupId` | See `https://developer.android.com/reference/androidx/media3/exoplayer/hls/playlist/HlsMultivariantPlaylist.Rendition#groupId()`. |
| `https://developer.android.com/reference/java/lang/String.html name` | See `https://developer.android.com/reference/androidx/media3/exoplayer/hls/playlist/HlsMultivariantPlaylist.Rendition#name()`. |
| `@https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/java/lang/String.html stableRenditionId` | See `https://developer.android.com/reference/androidx/media3/exoplayer/hls/playlist/HlsMultivariantPlaylist.Rendition#stableRenditionId()`. |