# InAppMp4Muxer.MetadataProvider

# InAppMp4Muxer.MetadataProvider

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

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/media3/transformer/InAppMp4Muxer.MetadataProvider "View this page in Java")

<br />

```
interface InAppMp4Muxer.MetadataProvider
```

<br />

*** ** * ** ***

Provides[metadata](https://developer.android.com/reference/kotlin/androidx/media3/common/Metadata.Entry)to add in the output MP4 file.

## Summary

|                             ### Public functions                              |
|-------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html) | [updateMetadataEntries](https://developer.android.com/reference/kotlin/androidx/media3/transformer/InAppMp4Muxer.MetadataProvider#updateMetadataEntries(java.util.Set<androidx.media3.common.Metadata.Entry>))`(metadataEntries: (`[Mutable](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-mutable-set/index.html)`)`[Set](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-set/index.html)`<`[Metadata.Entry](https://developer.android.com/reference/kotlin/androidx/media3/common/Metadata.Entry)`!>!)` Updates the list of[metadata entries](https://developer.android.com/reference/kotlin/androidx/media3/common/Metadata.Entry). |

## Public functions

### updateMetadataEntries

```
fun updateMetadataEntries(metadataEntries: (Mutable)Set<Metadata.Entry!>!): Unit
```

Updates the list of[metadata entries](https://developer.android.com/reference/kotlin/androidx/media3/common/Metadata.Entry).

A[Metadata.Entry](https://developer.android.com/reference/kotlin/androidx/media3/common/Metadata.Entry)can be added or removed. To modify an existing[Metadata.Entry](https://developer.android.com/reference/kotlin/androidx/media3/common/Metadata.Entry), first remove it and then add a new one.

For the list of supported metadata refer to[addMetadataEntry](https://developer.android.com/reference/kotlin/androidx/media3/muxer/Mp4Muxer#addMetadataEntry(androidx.media3.common.Metadata.Entry)).