TimeSignalCommand


@UnstableApi
public final class TimeSignalCommand extends SpliceCommand


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

Summary

Constants

static final Parcelable.Creator<TimeSignalCommand>

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

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

Constants

CREATOR

public static final Parcelable.Creator<TimeSignalCommandCREATOR

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()

writeToParcel

public void writeToParcel(Parcel dest, int flags)