Class TextInformationFrame
- java.lang.Object
-
- com.google.android.exoplayer2.metadata.id3.Id3Frame
-
- com.google.android.exoplayer2.metadata.id3.TextInformationFrame
-
- All Implemented Interfaces:
Parcelable,Metadata.Entry
@Deprecated public final class TextInformationFrame extends Id3Frame
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.Text information ID3 frame.
-
-
Nested Class Summary
-
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<TextInformationFrame>CREATORDeprecated.StringdescriptionDeprecated.StringvalueDeprecated.Use the first element ofvaluesinstead.ImmutableList<String>valuesDeprecated.The text values of this frame.-
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
-
Constructor Summary
Constructors Constructor Description TextInformationFrame(String id, String description, String value)Deprecated.UseTextInformationFrame(String id, String description, String[] valuesinsteadTextInformationFrame(String id, String description, List<String> values)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object obj)Deprecated.inthashCode()Deprecated.voidpopulateMediaMetadata(MediaMetadata.Builder builder)Deprecated.Uses the first element invaluesto set the relevant field inMediaMetadata(as determined byId3Frame.id).StringtoString()Deprecated.voidwriteToParcel(Parcel dest, int flags)Deprecated.-
Methods inherited from class com.google.android.exoplayer2.metadata.id3.Id3Frame
describeContents
-
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
-
-
-
-
Field Detail
-
description
@Nullable public final String description
Deprecated.
-
value
@Deprecated public final String value
Deprecated.Use the first element ofvaluesinstead.
-
values
public final ImmutableList<String> values
Deprecated.The text values of this frame. Will always have at least one element.
-
CREATOR
public static final Parcelable.Creator<TextInformationFrame> CREATOR
Deprecated.
-
-
Constructor Detail
-
TextInformationFrame
public TextInformationFrame(String id, @Nullable String description, List<String> values)
Deprecated.
-
TextInformationFrame
@Deprecated @InlineMe(replacement="this(id, description, ImmutableList.of(value))", imports="com.google.common.collect.ImmutableList") public TextInformationFrame(String id, @Nullable String description, String value)
Deprecated.UseTextInformationFrame(String id, String description, String[] valuesinstead
-
-
Method Detail
-
populateMediaMetadata
public void populateMediaMetadata(MediaMetadata.Builder builder)
Deprecated.Uses the first element invaluesto set the relevant field inMediaMetadata(as determined byId3Frame.id).- Parameters:
builder- The builder to be updated.
-
writeToParcel
public void writeToParcel(Parcel dest, int flags)
Deprecated.
-
-