TimeSignalCommand


@UnstableApi
class TimeSignalCommand : SpliceCommand


Represents a time signal command as defined in SCTE35, Section 9.3.4.

Summary

Public functions

String!

Public properties

Long

Equivalent to ptsTime but in the playback timebase.

Long

A PTS value, as defined in SCTE35, Section 9.3.4.

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 functions

toString

fun toString(): String!

Public properties

playbackPositionUs

val playbackPositionUsLong

Equivalent to ptsTime but in the playback timebase.

ptsTime

val ptsTimeLong

A PTS value, as defined in SCTE35, Section 9.3.4.