Back to Exoplayer

TextInformationFrame (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/metadata/id3/TextInformationFrame.html

latest7.8 KB
Original Source

Package com.google.android.exoplayer2.metadata.id3

Class TextInformationFrame


[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public final classTextInformationFrameextends[Id3Frame](Id3Frame.html "class in com.google.android.exoplayer2.metadata.id3")

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> | CREATOR | Deprecated. | | String | description | Deprecated. | | String | value | Deprecated. Use the first element of values instead.

| | ImmutableList<String> | values | Deprecated.

The text values of this frame. |

- 

Fields inherited from class com.google.android.exoplayer2.metadata.id3.Id3Frame

id

- 

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. Use TextInformationFrame(String id, String description, String[] values instead

| | TextInformationFrame​(String id, String description, List<String> values) | Deprecated. |

Method Summary

All Methods Instance Methods Concrete Methods Deprecated Methods | Modifier and Type | Method | Description | | --- | --- | --- | | boolean | equals​(Object obj) | Deprecated. | | int | hashCode() | Deprecated. | | void | populateMediaMetadata​(MediaMetadata.Builder builder) | Deprecated.

Uses the first element in values to set the relevant field in MediaMetadata (as determined by Id3Frame.id). | | String | toString() | Deprecated. | | void | writeToParcel​(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](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")description

Deprecated.

- 

value

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

Deprecated. Use the first element of values instead.

- 

values

public final[ImmutableList](https://guava.dev/releases/31.1-android/api/docs/com/google/common/collect/ImmutableList.html?is-external=true "class or interface in com.google.common.collect")<[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")> values

Deprecated.

The text values of this frame. Will always have at least one element.

- 

CREATOR

public static final[Parcelable.Creator](https://developer.android.com/reference/android/os/Parcelable.Creator.html "class or interface in android.os")<[TextInformationFrame](TextInformationFrame.html "class in com.google.android.exoplayer2.metadata.id3")> CREATOR

Deprecated.

Constructor Detail

- 

TextInformationFrame

public TextInformationFrame​([String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")id,
                            @Nullable[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")description,[List](https://developer.android.com/reference/java/util/List.html "class or interface in java.util")<[String](https://developer.android.com/reference/java/lang/String.html?is-external=true "class or interface in java.lang")> values)

Deprecated.

- 

TextInformationFrame

[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")@InlineMe(replacement="this(id, description, ImmutableList.of(value))",
          imports="com.google.common.collect.ImmutableList")
public TextInformationFrame​([String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")id,
                            @Nullable[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")description,[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")value)

Deprecated. Use TextInformationFrame(String id, String description, String[] values instead

Method Detail

- 

populateMediaMetadata

public void populateMediaMetadata​([MediaMetadata.Builder](../../MediaMetadata.Builder.html "class in com.google.android.exoplayer2")builder)

Deprecated.

Uses the first element in values to set the relevant field in MediaMetadata (as determined by Id3Frame.id). Parameters:builder - The builder to be updated.

- 

equals

public boolean equals​(@Nullable[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")obj)

Deprecated. Overrides:equals in class Object

- 

hashCode

public int hashCode()

Deprecated. Overrides:hashCode in class Object

- 

toString

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

Deprecated. Overrides:toString in class Id3Frame

- 

writeToParcel

public void writeToParcel​([Parcel](https://developer.android.com/reference/android/os/Parcel.html "class or interface in android.os")dest,
                          int flags)

Deprecated.