ThumbnailMetadata


@UnstableApi
class ThumbnailMetadata : Metadata.Entry


Stores the presentation timestamp of a thumbnail.

Summary

Public constructors

ThumbnailMetadata(presentationTimeUs: Long)

Creates an instance.

Public functions

Boolean
equals(o: Any?)
Int
String!

Public properties

Long

The presentation timestamp of the thumbnail, in microseconds.

Inherited functions

From androidx.media3.common.Metadata.Entry
ByteArray<Byte>?

Returns the bytes of the wrapped metadata in this Entry, or null if it doesn't contain wrapped metadata.

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.

Unit

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

Public constructors

ThumbnailMetadata

ThumbnailMetadata(presentationTimeUs: Long)

Creates an instance.

Parameters
presentationTimeUs: Long

The presentation timestamp of the thumbnail, in microseconds.

Public functions

equals

fun equals(o: Any?): Boolean

hashCode

fun hashCode(): Int

toString

fun toString(): String!

Public properties

presentationTimeUs

val presentationTimeUsLong

The presentation timestamp of the thumbnail, in microseconds.