Class HlsTrackMetadataEntry
- java.lang.Object
-
- com.google.android.exoplayer2.source.hls.HlsTrackMetadataEntry
-
- All Implemented Interfaces:
Parcelable
,Metadata.Entry
@Deprecated public final class HlsTrackMetadataEntry extends Object implements Metadata.Entry
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 Class Summary
Nested Classes Modifier and Type Class Description static class
HlsTrackMetadataEntry.VariantInfo
Deprecated.Holds attributes defined in an EXT-X-STREAM-INF tag.-
Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.ClassLoaderCreator<T extends Object>, Parcelable.Creator<T extends Object>
-
-
Field Summary
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.-
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
-
Constructor Summary
Constructors Constructor Description HlsTrackMetadataEntry(String groupId, String name, List<HlsTrackMetadataEntry.VariantInfo> variantInfos)
Deprecated.Creates an instance.
-
Method Summary
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.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.google.android.exoplayer2.metadata.Metadata.Entry
getWrappedMetadataBytes, getWrappedMetadataFormat, populateMediaMetadata
-
-
-
-
Field Detail
-
groupId
@Nullable public final String 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.
-
name
@Nullable public final String 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.
-
variantInfos
public final List<HlsTrackMetadataEntry.VariantInfo> 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.
-
CREATOR
public static final Parcelable.Creator<HlsTrackMetadataEntry> CREATOR
Deprecated.
-
-
Constructor Detail
-
HlsTrackMetadataEntry
public HlsTrackMetadataEntry(@Nullable String groupId, @Nullable String name, List<HlsTrackMetadataEntry.VariantInfo> variantInfos)
Deprecated.Creates an instance.- Parameters:
groupId
- SeegroupId
.name
- Seename
.variantInfos
- SeevariantInfos
.
-
-
Method Detail
-
describeContents
public int describeContents()
Deprecated.- Specified by:
describeContents
in interfaceParcelable
-
writeToParcel
public void writeToParcel(Parcel dest, int flags)
Deprecated.- Specified by:
writeToParcel
in interfaceParcelable
-
-