FakeMetadataEntry


@UnstableApi
public final class FakeMetadataEntry implements Metadata.Entry


A fake Metadata.Entry.

Summary

Public fields

final String

Public constructors

Public methods

boolean
int

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 String data

Public constructors

FakeMetadataEntry

public FakeMetadataEntry(String data)

Public methods

equals

public boolean equals(@Nullable Object obj)

hashCode

public int hashCode()