Back to Exoplayer

HlsMultivariantPlaylist.Rendition (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/source/hls/playlist/HlsMultivariantPlaylist.Rendition.html

latest3.0 KB
Original Source

Package com.google.android.exoplayer2.source.hls.playlist

Class HlsMultivariantPlaylist.Rendition


public static final classHlsMultivariantPlaylist.Renditionextends[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")

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

Field Summary

Fields | Modifier and Type | Field | Description | | --- | --- | --- | | Format | format | Format information associated with this rendition. | | String | groupId | The group to which this rendition belongs. | | String | name | The name of the rendition. | | Uri | url | The rendition's url, or null if the tag does not have a URI attribute. |

Constructor Summary

Constructors | Constructor | Description | | --- | --- | | Rendition​(Uri url, Format format, String groupId, String name) | |

Method Summary

- 

Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail

- 

url

@Nullable
public final[Uri](https://developer.android.com/reference/android/net/Uri.html "class or interface in android.net")url

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

- 

format

public final[Format](../../../Format.html "class in com.google.android.exoplayer2")format

Format information associated with this rendition.

- 

groupId

public final[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")groupId

The group to which this rendition belongs.

- 

name

public final[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")name

The name of the rendition.

Constructor Detail

- 

Rendition

public Rendition​(@Nullable[Uri](https://developer.android.com/reference/android/net/Uri.html "class or interface in android.net")url,[Format](../../../Format.html "class in com.google.android.exoplayer2")format,[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")groupId,[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")name)

Parameters:url - See url.format - See format.groupId - See groupId.name - See name.