@UnstableApi
public final class XmpData implements Metadata.Entry


Stores XMP data.

Summary

Public fields

final byte[]

Public constructors

XmpData(byte[] data)

Creates an instance.

Public methods

boolean
int
String

Inherited methods

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.

void

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

Public fields

data

public final byte[] data

Public constructors

XmpData

public XmpData(byte[] data)

Creates an instance.

Public methods

equals

public boolean equals(@Nullable Object obj)

hashCode

public int hashCode()

toString

public String toString()