# Id3Util

# Id3Util

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/Id3Util.java+class:androidx.media3.extractor.metadata.id3.Id3Util)

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/media3/extractor/metadata/id3/Id3Util "View this page in Java")

<br />

```
@UnstableApi
class Id3Util
```

<br />

*** ** * ** ***

Utility methods for working with ID3 metadata.

## Summary

|                                        ### Public functions                                        |
|----------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `java-static `[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)`?` | [resolveV1Genre](https://developer.android.com/reference/kotlin/androidx/media3/extractor/metadata/id3/Id3Util#resolveV1Genre(int))`(id3v1GenreCode: `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`)` Resolves an ID3v1 numeric genre code to its string form, or`null`if the code isn't recognized. |

## Public functions

### resolveV1Genre

```
java-static fun resolveV1Genre(id3v1GenreCode: Int): String?
```

Resolves an ID3v1 numeric genre code to its string form, or`null`if the code isn't recognized.

Includes codes that were added later by various versions of Winamp. See this Wikipedia[list of official and unofficial ID3v1 genres](https://en.wikipedia.org/wiki/List_of_ID3v1_genres).