# 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
class TextInformationFrame : Id3Frame
```

<br />

|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html) |||
| ↳ | [androidx.media3.extractor.metadata.id3.Id3Frame](https://developer.android.com/reference/kotlin/androidx/media3/extractor/metadata/id3/Id3Frame) ||
|   | ↳ | [androidx.media3.extractor.metadata.id3.TextInformationFrame](https://developer.android.com/reference/kotlin/androidx/media3/extractor/metadata/id3/TextInformationFrame) |

*** ** * ** ***

Text information ID3 frame.

## Summary

| ### 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/kotlin/androidx/media3/extractor/metadata/id3/TextInformationFrame#TextInformationFrame(java.lang.String,java.lang.String,java.lang.String))(id: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!, description: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?, value: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!)` **This function is deprecated.** Use `TextInformationFrame(String id, String description, String[] values` instead <br /> |
| `https://developer.android.com/reference/kotlin/androidx/media3/extractor/metadata/id3/TextInformationFrame#TextInformationFrame(java.lang.String,java.lang.String,java.util.List<java.lang.String>)( id: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!, description: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?, values: (https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-mutable-list/index.html)https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!>! )` |

| ### Public functions |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/extractor/metadata/id3/TextInformationFrame#equals(java.lang.Object)(obj: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?)` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/extractor/metadata/id3/TextInformationFrame#hashCode()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/extractor/metadata/id3/TextInformationFrame#populateMediaMetadata(androidx.media3.common.MediaMetadata.Builder)(builder: https://developer.android.com/reference/kotlin/androidx/media3/common/MediaMetadata.Builder!)` Uses the first element in `https://developer.android.com/reference/kotlin/androidx/media3/extractor/metadata/id3/TextInformationFrame#values()` to set the relevant field in `https://developer.android.com/reference/kotlin/androidx/media3/common/MediaMetadata` (as determined by `https://developer.android.com/reference/kotlin/androidx/media3/extractor/metadata/id3/Id3Frame#id()`). |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/media3/extractor/metadata/id3/TextInformationFrame#toString()()` |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?` | `https://developer.android.com/reference/kotlin/androidx/media3/extractor/metadata/id3/TextInformationFrame#description()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/media3/extractor/metadata/id3/TextInformationFrame#value()` **This property is deprecated.** Use the first element of `https://developer.android.com/reference/kotlin/androidx/media3/extractor/metadata/id3/TextInformationFrame#values()` instead. <br /> |
| `https://guava.dev/releases/snapshot-android/api/docs/com/google/common/collect/ImmutableList.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!>!` | `https://developer.android.com/reference/kotlin/androidx/media3/extractor/metadata/id3/TextInformationFrame#values()` The text values of this frame. |

### Inherited functions

From [androidx.media3.common.Metadata.Entry](https://developer.android.com/reference/kotlin/androidx/media3/common/Metadata.Entry) `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-byte/index.html>?` `https://developer.android.com/reference/kotlin/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/kotlin/androidx/media3/common/Format?` `https://developer.android.com/reference/kotlin/androidx/media3/common/Metadata.Entry#getWrappedMetadataFormat()()`

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

### Inherited properties

From [androidx.media3.extractor.metadata.id3.Id3Frame](https://developer.android.com/reference/kotlin/androidx/media3/extractor/metadata/id3/Id3Frame) `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` `https://developer.android.com/reference/kotlin/androidx/media3/extractor/metadata/id3/Id3Frame#id()`

The frame ID.

## Public constructors

### TextInformationFrame

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

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

### TextInformationFrame

```
TextInformationFrame(
    id: String!,
    description: String?,
    values: (Mutable)List<String!>!
)
```

## Public functions

### equals

```
fun equals(obj: Any?): Boolean
```

### hashCode

```
fun hashCode(): Int
```

### populateMediaMetadata

```
fun populateMediaMetadata(builder: MediaMetadata.Builder!): Unit
```

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

### toString

```
fun toString(): String!
```

## Public properties

### description

```
val description: String?
```

### value

```
val value: String!
```

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

### values

```
val values: ImmutableList<String!>!
```

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