Back to Exoplayer

TimeSignalCommand (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/metadata/scte35/TimeSignalCommand.html

latest4.1 KB
Original Source

Package com.google.android.exoplayer2.metadata.scte35

Class TimeSignalCommand


[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public final classTimeSignalCommandextends[SpliceCommand](SpliceCommand.html "class in com.google.android.exoplayer2.metadata.scte35")

Deprecated. com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.

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

Nested Class Summary

- 

Nested classes/interfaces inherited from interface android.os.Parcelable

Parcelable.ClassLoaderCreator<T extends Object>, Parcelable.Creator<T extends Object>

Field Summary

Fields | Modifier and Type | Field | Description | | --- | --- | --- | | static Parcelable.Creator<TimeSignalCommand> | CREATOR | Deprecated. | | long | playbackPositionUs | Deprecated.

Equivalent to ptsTime but in the playback timebase. | | long | ptsTime | Deprecated.

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

- 

Fields inherited from interface android.os.Parcelable

CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE

Method Summary

All Methods Instance Methods Concrete Methods Deprecated Methods | Modifier and Type | Method | Description | | --- | --- | --- | | String | toString() | Deprecated. | | void | writeToParcel​(Parcel dest, int flags) | Deprecated. |

- 

Methods inherited from class com.google.android.exoplayer2.metadata.scte35.SpliceCommand

describeContents

- 

Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

- 

Methods inherited from interface com.google.android.exoplayer2.metadata.Metadata.Entry

getWrappedMetadataBytes, getWrappedMetadataFormat, populateMediaMetadata

Field Detail

- 

ptsTime

public final long ptsTime

Deprecated.

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

- 

playbackPositionUs

public final long playbackPositionUs

Deprecated.

Equivalent to ptsTime but in the playback timebase.

- 

CREATOR

public static final[Parcelable.Creator](https://developer.android.com/reference/android/os/Parcelable.Creator.html "class or interface in android.os")<[TimeSignalCommand](TimeSignalCommand.html "class in com.google.android.exoplayer2.metadata.scte35")> CREATOR

Deprecated.

Method Detail

- 

toString

public[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")toString()

Deprecated. Overrides:toString in class SpliceCommand

- 

writeToParcel

public void writeToParcel​([Parcel](https://developer.android.com/reference/android/os/Parcel.html "class or interface in android.os")dest,
                          int flags)

Deprecated.