docs/doc/reference/com/google/android/exoplayer2/source/hls/HlsTrackMetadataEntry.html
Package com.google.android.exoplayer2.source.hls
All Implemented Interfaces:Parcelable, Metadata.Entry
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public final classHlsTrackMetadataEntryextends[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")implements[Metadata.Entry](../../metadata/Metadata.Entry.html "interface in com.google.android.exoplayer2.metadata")
Deprecated. com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
Holds metadata associated to an HLS media track.
Nested Classes | Modifier and Type | Class | Description |
| --- | --- | --- |
| static class | HlsTrackMetadataEntry.VariantInfo |
Deprecated.
Holds attributes defined in an EXT-X-STREAM-INF tag. |
-
Parcelable.ClassLoaderCreator<T extends Object>, Parcelable.Creator<T extends Object>
Fields | Modifier and Type | Field | Description |
| --- | --- | --- |
| static Parcelable.Creator<HlsTrackMetadataEntry> | CREATOR |
Deprecated.
|
| String | groupId |
Deprecated.
The GROUP-ID value of this track, if the track is derived from an EXT-X-MEDIA tag.
|
| String | name |
Deprecated.
The NAME value of this track, if the track is derived from an EXT-X-MEDIA tag.
|
| List<HlsTrackMetadataEntry.VariantInfo> | variantInfos |
Deprecated.
The EXT-X-STREAM-INF tags attributes associated with this track. |
-
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Constructors | Constructor | Description |
| --- | --- |
| HlsTrackMetadataEntry(String groupId, String name, List<HlsTrackMetadataEntry.VariantInfo> variantInfos) |
Deprecated.
Creates an instance. |
All Methods Instance Methods Concrete Methods Deprecated Methods | Modifier and Type | Method | Description |
| --- | --- | --- |
| int | describeContents() |
Deprecated.
|
| boolean | equals(Object other) |
Deprecated.
|
| int | hashCode() |
Deprecated.
|
| String | toString() |
Deprecated.
|
| void | writeToParcel(Parcel dest, int flags) |
Deprecated.
|
-
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
getWrappedMetadataBytes, getWrappedMetadataFormat, populateMediaMetadata
-
@Nullable
public final[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")groupId
Deprecated.
The GROUP-ID value of this track, if the track is derived from an EXT-X-MEDIA tag. Null if the track is not derived from an EXT-X-MEDIA TAG.
-
@Nullable
public final[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")name
Deprecated.
The NAME value of this track, if the track is derived from an EXT-X-MEDIA tag. Null if the track is not derived from an EXT-X-MEDIA TAG.
-
public final[List](https://developer.android.com/reference/java/util/List.html "class or interface in java.util")<[HlsTrackMetadataEntry.VariantInfo](HlsTrackMetadataEntry.VariantInfo.html "class in com.google.android.exoplayer2.source.hls")> variantInfos
Deprecated.
The EXT-X-STREAM-INF tags attributes associated with this track. This field is non-applicable (and therefore empty) if this track is derived from an EXT-X-MEDIA tag.
-
public static final[Parcelable.Creator](https://developer.android.com/reference/android/os/Parcelable.Creator.html "class or interface in android.os")<[HlsTrackMetadataEntry](HlsTrackMetadataEntry.html "class in com.google.android.exoplayer2.source.hls")> CREATOR
Deprecated.
-
public HlsTrackMetadataEntry(@Nullable[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")groupId,
@Nullable[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")name,[List](https://developer.android.com/reference/java/util/List.html "class or interface in java.util")<[HlsTrackMetadataEntry.VariantInfo](HlsTrackMetadataEntry.VariantInfo.html "class in com.google.android.exoplayer2.source.hls")> variantInfos)
Deprecated.
Creates an instance.
Parameters:groupId - See groupId.name - See name.variantInfos - See variantInfos.
-
public[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")toString()
Deprecated.
Overrides:toString in class Object
-
public boolean equals(@Nullable[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")other)
Deprecated.
Overrides:equals in class Object
-
public int hashCode()
Deprecated.
Overrides:hashCode in class Object
-
public int describeContents()
Deprecated.
Specified by:describeContents in interface Parcelable
-
public void writeToParcel([Parcel](https://developer.android.com/reference/android/os/Parcel.html "class or interface in android.os")dest,
int flags)
Deprecated.
Specified by:writeToParcel in interface Parcelable