# MdtaMetadataEntry

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

*** ** * ** ***

<br />

```
@UnstableApi
class MdtaMetadataEntry : Metadata.Entry
```

<br />

*** ** * ** ***

Stores extensible metadata with handler type 'mdta'. See also the QuickTime File Format Specification.

## Summary

| ### Constants |
|---|---|
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-byte/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/container/MdtaMetadataEntry#AUXILIARY_TRACKS_SAMPLES_INTERLEAVED() = 1` The auxiliary tracks samples are interleaved in the primary video track's mdat box. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-byte/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/container/MdtaMetadataEntry#AUXILIARY_TRACKS_SAMPLES_NOT_INTERLEAVED() = 0` The auxiliary tracks samples are not interleaved and are in the axte.mdat box. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/container/MdtaMetadataEntry#DEFAULT_LOCALE_INDICATOR() = 0` The default locale indicator which implies all speakers in all countries. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/media3/container/MdtaMetadataEntry#KEY_ANDROID_CAPTURE_FPS() = "com.android.capture.fps"` Key for the capture frame rate (in frames per second). |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/media3/container/MdtaMetadataEntry#KEY_AUXILIARY_TRACKS_INTERLEAVED() = "auxiliary.tracks.interleaved"` Key for whether auxiliary tracks samples are interleaved. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/media3/container/MdtaMetadataEntry#KEY_AUXILIARY_TRACKS_LENGTH() = "auxiliary.tracks.length"` Key for auxiliary tracks extension box (axte) length. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/media3/container/MdtaMetadataEntry#KEY_AUXILIARY_TRACKS_MAP() = "auxiliary.tracks.map"` Key for auxiliary tracks map. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/media3/container/MdtaMetadataEntry#KEY_AUXILIARY_TRACKS_OFFSET() = "auxiliary.tracks.offset"` Key for auxiliary tracks extension box (axte) offset. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/container/MdtaMetadataEntry#TYPE_INDICATOR_8_BIT_UNSIGNED_INT() = 75` The type indicator for an 8-bit unsigned integer. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/container/MdtaMetadataEntry#TYPE_INDICATOR_FLOAT32() = 23` The type indicator for Float32. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/container/MdtaMetadataEntry#TYPE_INDICATOR_INT32() = 67` The type indicator for 32-bit signed integer. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/container/MdtaMetadataEntry#TYPE_INDICATOR_RESERVED() = 0` The type indicator to use when no type needs to be indicated. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/container/MdtaMetadataEntry#TYPE_INDICATOR_STRING() = 1` The type indicator for UTF-8 string. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/container/MdtaMetadataEntry#TYPE_INDICATOR_UNSIGNED_INT64() = 78` The type indicator for 64-bit unsigned integer. |

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/media3/container/MdtaMetadataEntry#MdtaMetadataEntry(java.lang.String,byte[],int)(key: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!, value: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-byte-array/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-byte/index.html>!, typeIndicator: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Creates a new metadata entry for the specified metadata key/value with `https://developer.android.com/reference/kotlin/androidx/media3/container/MdtaMetadataEntry#DEFAULT_LOCALE_INDICATOR()`. |
| `https://developer.android.com/reference/kotlin/androidx/media3/container/MdtaMetadataEntry#MdtaMetadataEntry(java.lang.String,byte[],int,int)( key: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!, value: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-byte-array/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-byte/index.html>!, localeIndicator: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, typeIndicator: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html )` Creates a new metadata entry for the specified metadata key/value. |

| ### Public functions |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/container/MdtaMetadataEntry#equals(java.lang.Object)(obj: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?)` |
| `(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/-int/index.html!>!` | `https://developer.android.com/reference/kotlin/androidx/media3/container/MdtaMetadataEntry#getAuxiliaryTrackTypesFromMap()()` Returns the auxiliary track types from the `https://developer.android.com/reference/kotlin/androidx/media3/container/MdtaMetadataEntry#KEY_AUXILIARY_TRACKS_MAP()` metadata. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/container/MdtaMetadataEntry#hashCode()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/media3/container/MdtaMetadataEntry#toString()()` |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/media3/container/MdtaMetadataEntry#key()` The metadata key name. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/container/MdtaMetadataEntry#localeIndicator()` The four byte locale indicator. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/container/MdtaMetadataEntry#typeIndicator()` The four byte type indicator. |
| `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/container/MdtaMetadataEntry#value()` The payload. |

### 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.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/kotlin/androidx/media3/common/Metadata.Entry#populateMediaMetadata(androidx.media3.common.MediaMetadata.Builder)(builder: https://developer.android.com/reference/kotlin/androidx/media3/common/MediaMetadata.Builder!)`

Updates the `https://developer.android.com/reference/kotlin/androidx/media3/common/MediaMetadata.Builder` with the type-specific values stored in this ` Entry`.

## Constants

### AUXILIARY_TRACKS_SAMPLES_INTERLEAVED

```
const val AUXILIARY_TRACKS_SAMPLES_INTERLEAVED = 1: Byte
```

The auxiliary tracks samples are interleaved in the primary video track's mdat box.

### AUXILIARY_TRACKS_SAMPLES_NOT_INTERLEAVED

```
const val AUXILIARY_TRACKS_SAMPLES_NOT_INTERLEAVED = 0: Byte
```

The auxiliary tracks samples are not interleaved and are in the axte.mdat box.

### DEFAULT_LOCALE_INDICATOR

```
const val DEFAULT_LOCALE_INDICATOR = 0: Int
```

The default locale indicator which implies all speakers in all countries.

### KEY_ANDROID_CAPTURE_FPS

```
const val KEY_ANDROID_CAPTURE_FPS = "com.android.capture.fps": String!
```

Key for the capture frame rate (in frames per second).

### KEY_AUXILIARY_TRACKS_INTERLEAVED

```
const val KEY_AUXILIARY_TRACKS_INTERLEAVED = "auxiliary.tracks.interleaved": String!
```

Key for whether auxiliary tracks samples are interleaved.

### KEY_AUXILIARY_TRACKS_LENGTH

```
const val KEY_AUXILIARY_TRACKS_LENGTH = "auxiliary.tracks.length": String!
```

Key for auxiliary tracks extension box (axte) length.

### KEY_AUXILIARY_TRACKS_MAP

```
const val KEY_AUXILIARY_TRACKS_MAP = "auxiliary.tracks.map": String!
```

Key for auxiliary tracks map.

### KEY_AUXILIARY_TRACKS_OFFSET

```
const val KEY_AUXILIARY_TRACKS_OFFSET = "auxiliary.tracks.offset": String!
```

Key for auxiliary tracks extension box (axte) offset.

### TYPE_INDICATOR_8_BIT_UNSIGNED_INT

```
const val TYPE_INDICATOR_8_BIT_UNSIGNED_INT = 75: Int
```

The type indicator for an 8-bit unsigned integer.

### TYPE_INDICATOR_FLOAT32

```
const val TYPE_INDICATOR_FLOAT32 = 23: Int
```

The type indicator for Float32.

### TYPE_INDICATOR_INT32

```
const val TYPE_INDICATOR_INT32 = 67: Int
```

The type indicator for 32-bit signed integer.

### TYPE_INDICATOR_RESERVED

```
const val TYPE_INDICATOR_RESERVED = 0: Int
```

The type indicator to use when no type needs to be indicated.

### TYPE_INDICATOR_STRING

```
const val TYPE_INDICATOR_STRING = 1: Int
```

The type indicator for UTF-8 string.

### TYPE_INDICATOR_UNSIGNED_INT64

```
const val TYPE_INDICATOR_UNSIGNED_INT64 = 78: Int
```

The type indicator for 64-bit unsigned integer.

## Public constructors

### MdtaMetadataEntry

```
MdtaMetadataEntry(key: String!, value: ByteArray<Byte>!, typeIndicator: Int)
```

Creates a new metadata entry for the specified metadata key/value with `https://developer.android.com/reference/kotlin/androidx/media3/container/MdtaMetadataEntry#DEFAULT_LOCALE_INDICATOR()`.

### MdtaMetadataEntry

```
MdtaMetadataEntry(
    key: String!,
    value: ByteArray<Byte>!,
    localeIndicator: Int,
    typeIndicator: Int
)
```

Creates a new metadata entry for the specified metadata key/value.

## Public functions

### equals

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

### getAuxiliaryTrackTypesFromMap

```
fun getAuxiliaryTrackTypesFromMap(): (Mutable)List<Int!>!
```

Returns the auxiliary track types from the `https://developer.android.com/reference/kotlin/androidx/media3/container/MdtaMetadataEntry#KEY_AUXILIARY_TRACKS_MAP()` metadata.

### hashCode

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

### toString

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

## Public properties

### key

```
val key: String!
```

The metadata key name.

### localeIndicator

```
val localeIndicator: Int
```

The four byte locale indicator.

### typeIndicator

```
val typeIndicator: Int
```

The four byte type indicator.

### value

```
val value: Array<Byte>!
```

The payload. The interpretation of the value depends on `https://developer.android.com/reference/kotlin/androidx/media3/container/MdtaMetadataEntry#typeIndicator()`.