# TextInformationFrame

Artifact: [androidx.media3:media3-extractor](https://developer.android.com/jetpack/androidx/releases/media3) [View Source](https://cs.android.com/search?q=file:androidx/media3/extractor/metadata/id3/TextInformationFrame.java+class:androidx.media3.extractor.metadata.id3.TextInformationFrame)

*** ** * ** ***


```
@UnstableApi
public final class TextInformationFrame extends Id3Frame
```

<br />

|---|---|---|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object.html) |||
| ↳ | [androidx.media3.extractor.metadata.id3.Id3Frame](https://developer.android.com/reference/androidx/media3/extractor/metadata/id3/Id3Frame) ||
|   | ↳ | [androidx.media3.extractor.metadata.id3.TextInformationFrame](https://developer.android.com/reference/androidx/media3/extractor/metadata/id3/TextInformationFrame) |

*** ** * ** ***

Text information ID3 frame.

## Summary

| ### Public fields |
|---|---|
| `final @https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/media3/extractor/metadata/id3/TextInformationFrame#description()` |
| `final https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/media3/extractor/metadata/id3/TextInformationFrame#value()` **This field is deprecated.** Use the first element of `https://developer.android.com/reference/androidx/media3/extractor/metadata/id3/TextInformationFrame#values()` instead. <br /> |
| `final https://guava.dev/releases/snapshot-android/api/docs/com/google/common/collect/ImmutableList.html<https://developer.android.com/reference/java/lang/String.html>` | `https://developer.android.com/reference/androidx/media3/extractor/metadata/id3/TextInformationFrame#values()` The text values of this frame. |

| ### Public constructors |
|---|
| `@https://checkerframework.org/api/com/google/errorprone/annotations/InlineMe.html(replacement = "this(id, description, ImmutableList.of(value))", imports = "com.google.common.collect.ImmutableList") [TextInformationFrame](https://developer.android.com/reference/androidx/media3/extractor/metadata/id3/TextInformationFrame#TextInformationFrame(java.lang.String,java.lang.String,java.lang.String))( https://developer.android.com/reference/java/lang/String.html id, @https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/java/lang/String.html description, https://developer.android.com/reference/java/lang/String.html value )` **This method is deprecated.** Use `TextInformationFrame(String id, String description, String[] values` instead <br /> |
| `https://developer.android.com/reference/androidx/media3/extractor/metadata/id3/TextInformationFrame#TextInformationFrame(java.lang.String,java.lang.String,java.util.List<java.lang.String>)( https://developer.android.com/reference/java/lang/String.html id, @https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/java/lang/String.html description, https://developer.android.com/reference/java/util/List.html<https://developer.android.com/reference/java/lang/String.html> values )` |

| ### Public methods |
|---|---|
| `boolean` | `https://developer.android.com/reference/androidx/media3/extractor/metadata/id3/TextInformationFrame#equals(java.lang.Object)(@https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/java/lang/Object.html obj)` |
| `int` | `https://developer.android.com/reference/androidx/media3/extractor/metadata/id3/TextInformationFrame#hashCode()()` |
| `void` | `https://developer.android.com/reference/androidx/media3/extractor/metadata/id3/TextInformationFrame#populateMediaMetadata(androidx.media3.common.MediaMetadata.Builder)(https://developer.android.com/reference/androidx/media3/common/MediaMetadata.Builder builder)` Uses the first element in `https://developer.android.com/reference/androidx/media3/extractor/metadata/id3/TextInformationFrame#values()` to set the relevant field in `https://developer.android.com/reference/androidx/media3/common/MediaMetadata` (as determined by `https://developer.android.com/reference/androidx/media3/extractor/metadata/id3/Id3Frame#id()`). |
| `https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/media3/extractor/metadata/id3/TextInformationFrame#toString()()` |

### Inherited fields

From [androidx.media3.extractor.metadata.id3.Id3Frame](https://developer.android.com/reference/androidx/media3/extractor/metadata/id3/Id3Frame) `final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/androidx/media3/extractor/metadata/id3/Id3Frame#id()`

The frame ID.

### Inherited methods

From [androidx.media3.common.Metadata.Entry](https://developer.android.com/reference/androidx/media3/common/Metadata.Entry) `@https://developer.android.com/reference/androidx/annotation/Nullable byte[]` `https://developer.android.com/reference/androidx/media3/common/Metadata.Entry#getWrappedMetadataBytes()()`

Returns the bytes of the wrapped metadata in this Entry, or null if it doesn't contain wrapped metadata.
`@https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/androidx/media3/common/Format` `https://developer.android.com/reference/androidx/media3/common/Metadata.Entry#getWrappedMetadataFormat()()`

Returns the `https://developer.android.com/reference/androidx/media3/common/Format` that can be used to decode the wrapped metadata in `https://developer.android.com/reference/androidx/media3/common/Metadata.Entry#getWrappedMetadataBytes()`, or null if this Entry doesn't contain wrapped metadata.

## Public fields

### description

```
public final @Nullable String description
```

### value

```
public final String value
```

> [!CAUTION]
> **This field is deprecated.**   
>
> Use the first element of `https://developer.android.com/reference/androidx/media3/extractor/metadata/id3/TextInformationFrame#values()` instead.

### values

```
public final ImmutableList<String> values
```

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

## Public constructors

### TextInformationFrame

```
@InlineMe(replacement = "this(id, description, ImmutableList.of(value))", imports = "com.google.common.collect.ImmutableList")
public [TextInformationFrame](https://developer.android.com/reference/androidx/media3/extractor/metadata/id3/TextInformationFrame#TextInformationFrame(java.lang.String,java.lang.String,java.lang.String))(
    String id,
    @Nullable String description,
    String value
)
```

> [!CAUTION]
> **This method is deprecated.**   
>
> Use `TextInformationFrame(String id, String description, String[] values` instead

### TextInformationFrame

```
public TextInformationFrame(
    String id,
    @Nullable String description,
    List<String> values
)
```

## Public methods

### equals

```
public boolean equals(@Nullable Object obj)
```

### hashCode

```
public int hashCode()
```

### populateMediaMetadata

```
public void populateMediaMetadata(MediaMetadata.Builder builder)
```

Uses the first element in `https://developer.android.com/reference/androidx/media3/extractor/metadata/id3/TextInformationFrame#values()` to set the relevant field in `https://developer.android.com/reference/androidx/media3/common/MediaMetadata` (as determined by `https://developer.android.com/reference/androidx/media3/extractor/metadata/id3/Id3Frame#id()`).

### toString

```
public String toString()
```