# ApicFrame

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

*** ** * ** ***

<br />

```
@UnstableApi
class ApicFrame : 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.ApicFrame](https://developer.android.com/reference/kotlin/androidx/media3/extractor/metadata/id3/ApicFrame) |

*** ** * ** ***

APIC (Attached Picture) ID3 frame.

## Summary

| ### Constants |
|---|---|
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/media3/extractor/metadata/id3/ApicFrame#ID() = "APIC"` |

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/media3/extractor/metadata/id3/ApicFrame#ApicFrame(java.lang.String,java.lang.String,int,byte[])( mimeType: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!, description: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?, pictureType: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, pictureData: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-byte-array/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-byte/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/ApicFrame#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/ApicFrame#hashCode()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/extractor/metadata/id3/ApicFrame#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`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/media3/extractor/metadata/id3/ApicFrame#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/ApicFrame#description()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/media3/extractor/metadata/id3/ApicFrame#mimeType()` |
| `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/extractor/metadata/id3/ApicFrame#pictureData()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/extractor/metadata/id3/ApicFrame#pictureType()` |

### 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.

## Constants

### ID

```
const val ID = "APIC": String!
```

## Public constructors

### ApicFrame

```
ApicFrame(
    mimeType: String!,
    description: String?,
    pictureType: Int,
    pictureData: ByteArray<Byte>!
)
```

## Public functions

### equals

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

### hashCode

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

### populateMediaMetadata

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

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

| Parameters |
|---|---|
| `builder: https://developer.android.com/reference/kotlin/androidx/media3/common/MediaMetadata.Builder!` | The builder to be updated. |

### toString

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

## Public properties

### description

```
val description: String?
```

### mimeType

```
val mimeType: String!
```

### pictureData

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

### pictureType

```
val pictureType: Int
```