@UnstableApi
public class VorbisComment implements Metadata.Entry

Known direct subclasses
VorbisComment

A vorbis comment, extracted from a FLAC or Ogg file.


Summary

Constants

static final Parcelable.Creator<VorbisComment>

Public fields

final String

The key in upper case, to ease case-insensitive comparisons.

final String

The value.

Public constructors

VorbisComment(String key, String value)

Constructs an instance.

Protected constructors

Public methods

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

Constants

CREATOR

public static final Parcelable.Creator<VorbisCommentCREATOR

Public fields

key

public final String key

The key in upper case, to ease case-insensitive comparisons.

value

public final String value

The value.

Public constructors

VorbisComment

public VorbisComment(String key, String value)

Constructs an instance.

Parameters
String key

The key. Must be an ASCII string containing only characters between 0x20 and 0x7D (inclusive), excluding 0x3D ('=').

String value

The value.

Protected constructors

VorbisComment

protected VorbisComment(Parcel in)

Public methods

describeContents

public int describeContents()

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)