@UnstableApi
public final class ApicFrame extends Id3Frame


APIC (Attached Picture) ID3 frame.

Summary

Constants

static final Parcelable.Creator<ApicFrame>
static final String
ID = "APIC"

Public fields

final @Nullable String
final String
final byte[]
final int

Public constructors

ApicFrame(
    String mimeType,
    @Nullable String description,
    int pictureType,
    byte[] pictureData
)

Public methods

boolean
int
void

Updates the MediaMetadata.Builder with the type-specific values stored in this Entry.

String
void
writeToParcel(Parcel dest, int flags)

Inherited Constants

From android.os.Parcelable
static final int
static final int

Inherited fields

From androidx.media3.extractor.metadata.id3.Id3Frame
final String

The frame ID.

Inherited methods

From androidx.media3.extractor.metadata.id3.Id3Frame
From androidx.media3.common.Metadata.Entry
@Nullable byte[]

Returns the bytes of the wrapped metadata in this Entry, or null if it doesn't contain wrapped metadata.

@Nullable Format

Returns the Format that can be used to decode the wrapped metadata in getWrappedMetadataBytes, or null if this Entry doesn't contain wrapped metadata.

From android.os.Parcelable
abstract int

Constants

CREATOR

public static final Parcelable.Creator<ApicFrameCREATOR

ID

public static final String ID = "APIC"

Public fields

description

public final @Nullable String description

mimeType

public final String mimeType

pictureData

public final byte[] pictureData

pictureType

public final int pictureType

Public constructors

ApicFrame

public ApicFrame(
    String mimeType,
    @Nullable String description,
    int pictureType,
    byte[] pictureData
)

Public methods

equals

public boolean equals(@Nullable Object obj)

hashCode

public int hashCode()

populateMediaMetadata

public void populateMediaMetadata(MediaMetadata.Builder builder)

Updates the MediaMetadata.Builder with the type-specific values stored in this Entry.

Parameters
MediaMetadata.Builder builder

The builder to be updated.

toString

public String toString()

writeToParcel

public void writeToParcel(Parcel dest, int flags)