TimeSignalCommand

@UnstableApi
class TimeSignalCommand : SpliceCommand


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

Summary

Public functions

String!
Unit
writeToParcel(dest: Parcel!, flags: Int)

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.

From android.os.Parcelable
abstract Int
From androidx.media3.extractor.metadata.scte35.SpliceCommand

Constants

CREATOR

const val CREATORParcelable.Creator<TimeSignalCommand!>!

Public functions

toString

fun toString(): String!

writeToParcel

fun writeToParcel(dest: Parcel!, flags: Int): Unit

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.