SmtaMetadataEntry


@UnstableApi
public final class SmtaMetadataEntry implements Metadata.Entry


Stores metadata from the Samsung smta box.

See [Internal: b/150138465#comment76], [Internal: b/301273734#comment17].

Summary

Constants

static final Parcelable.Creator<SmtaMetadataEntry>

Public fields

final float

The capture frame rate, in fps, or RATE_UNSET if it is unknown.

final int

The number of layers in the SVC extended frames.

Public constructors

SmtaMetadataEntry(float captureFrameRate, int svcTemporalLayerCount)

Creates an instance.

Public methods

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

void

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

Constants

CREATOR

public static final Parcelable.Creator<SmtaMetadataEntryCREATOR

Public fields

captureFrameRate

public final float captureFrameRate

The capture frame rate, in fps, or RATE_UNSET if it is unknown.

If known, the capture frame rate should always be an integer value.

svcTemporalLayerCount

public final int svcTemporalLayerCount

The number of layers in the SVC extended frames.

Public constructors

SmtaMetadataEntry

public SmtaMetadataEntry(float captureFrameRate, int svcTemporalLayerCount)

Creates an instance.

Public methods

describeContents

public int describeContents()

equals

public boolean equals(@Nullable Object obj)

hashCode

public int hashCode()

toString

public String toString()

writeToParcel

public void writeToParcel(Parcel dest, int flags)