TextInformationFrame


@UnstableApi
public final class TextInformationFrame extends Id3Frame


Text information ID3 frame.

Summary

Public fields

final @Nullable String
final String

This field is deprecated.

Use the first element of values instead.

final ImmutableList<String>

The text values of this frame.

Public constructors

@InlineMe(replacement = "this(id, description, ImmutableList.of(value))", imports = "com.google.common.collect.ImmutableList")
TextInformationFrame(
    String id,
    @Nullable String description,
    String value
)

This method is deprecated.

Use TextInformationFrame(String id, String description, String[] values instead

TextInformationFrame(
    String id,
    @Nullable String description,
    List<String> values
)

Public methods

boolean
int
void

Uses the first element in values to set the relevant field in MediaMetadata (as determined by id).

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<TextInformationFrameCREATOR

Public fields

description

public final @Nullable String description

value

public final String value

values

public final ImmutableList<Stringvalues

The text values of this frame. Will always have at least one element.

Public constructors

TextInformationFrame

@InlineMe(replacement = "this(id, description, ImmutableList.of(value))", imports = "com.google.common.collect.ImmutableList")
public TextInformationFrame(
    String id,
    @Nullable String description,
    String value
)

TextInformationFrame

public TextInformationFrame(
    String id,
    @Nullable String description,
    List<String> values
)

Public methods

equals

public boolean equals(@Nullable Object obj)

hashCode

public int hashCode()

populateMediaMetadata

public void populateMediaMetadata(MediaMetadata.Builder builder)

Uses the first element in values to set the relevant field in MediaMetadata (as determined by id).

toString

public String toString()

writeToParcel

public void writeToParcel(Parcel dest, int flags)