TimeSignalCommand


@UnstableApi
public final class TimeSignalCommand extends SpliceCommand


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

Summary

Public fields

final long

Equivalent to ptsTime but in the playback timebase.

final long

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

Public methods

String

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.

Public fields

playbackPositionUs

public final long playbackPositionUs

Equivalent to ptsTime but in the playback timebase.

ptsTime

public final long ptsTime

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

Public methods

toString

public String toString()