docs/doc/reference/com/google/android/exoplayer2/metadata/scte35/SpliceInsertCommand.html
Package com.google.android.exoplayer2.metadata.scte35
All Implemented Interfaces:Parcelable, Metadata.Entry
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public final classSpliceInsertCommandextends[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 splice insert command defined in SCTE35, Section 9.3.3.
Nested Classes | Modifier and Type | Class | Description |
| --- | --- | --- |
| static class | SpliceInsertCommand.ComponentSplice |
Deprecated.
Holds splicing information for specific splice insert command components. |
-
Parcelable.ClassLoaderCreator<T extends Object>, Parcelable.Creator<T extends Object>
Fields | Modifier and Type | Field | Description |
| --- | --- | --- |
| boolean | autoReturn |
Deprecated.
If breakDurationUs is not C.TIME_UNSET, defines whether breakDurationUs should be used to know when to return to the network feed.
|
| int | availNum |
Deprecated.
Holds the value of avail_num as defined in SCTE35, Section 9.3.3.
|
| int | availsExpected |
Deprecated.
Holds the value of avails_expected as defined in SCTE35, Section 9.3.3.
|
| long | breakDurationUs |
Deprecated.
The duration of the splice in microseconds, or C.TIME_UNSET if no duration is present.
|
| List<SpliceInsertCommand.ComponentSplice> | componentSpliceList |
Deprecated.
If programSpliceFlag is false, a non-empty list containing the SpliceInsertCommand.ComponentSplices.
|
| static Parcelable.Creator<SpliceInsertCommand> | CREATOR |
Deprecated.
|
| boolean | outOfNetworkIndicator |
Deprecated.
If true, the splice event is an opportunity to exit from the network feed.
|
| boolean | programSpliceFlag |
Deprecated.
Whether the splice mode is program splice mode, whereby all PIDs/components are to be spliced.
|
| long | programSplicePlaybackPositionUs |
Deprecated.
Equivalent to programSplicePts but in the playback timebase.
|
| long | programSplicePts |
Deprecated.
If programSpliceFlag is true, the PTS at which the program splice should occur.
|
| boolean | spliceEventCancelIndicator |
Deprecated.
True if the event with id spliceEventId has been canceled.
|
| long | spliceEventId |
Deprecated.
The splice event id.
|
| boolean | spliceImmediateFlag |
Deprecated.
Whether splicing should be done at the nearest opportunity.
|
| int | uniqueProgramId |
Deprecated.
The unique program id as defined in SCTE35, Section 9.3.3. |
-
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
All Methods Instance Methods Concrete Methods Deprecated Methods | Modifier and Type | Method | Description |
| --- | --- | --- |
| String | toString() |
Deprecated.
|
| void | writeToParcel(Parcel dest, int flags) |
Deprecated.
|
-
describeContents
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
getWrappedMetadataBytes, getWrappedMetadataFormat, populateMediaMetadata
-
public final long spliceEventId
Deprecated.
The splice event id.
-
public final boolean spliceEventCancelIndicator
Deprecated.
True if the event with id spliceEventId has been canceled.
-
public final boolean outOfNetworkIndicator
Deprecated.
If true, the splice event is an opportunity to exit from the network feed. If false, indicates an opportunity to return to the network feed.
-
public final boolean programSpliceFlag
Deprecated.
Whether the splice mode is program splice mode, whereby all PIDs/components are to be spliced. If false, splicing is done per PID/component.
-
public final boolean spliceImmediateFlag
Deprecated.
Whether splicing should be done at the nearest opportunity. If false, splicing should be done at the moment indicated by programSplicePlaybackPositionUs or SpliceInsertCommand.ComponentSplice.componentSplicePlaybackPositionUs, depending on programSpliceFlag.
-
public final long programSplicePts
Deprecated.
If programSpliceFlag is true, the PTS at which the program splice should occur. C.TIME_UNSET otherwise.
-
public final long programSplicePlaybackPositionUs
Deprecated.
Equivalent to programSplicePts but in the playback timebase.
-
public final[List](https://developer.android.com/reference/java/util/List.html "class or interface in java.util")<[SpliceInsertCommand.ComponentSplice](SpliceInsertCommand.ComponentSplice.html "class in com.google.android.exoplayer2.metadata.scte35")> componentSpliceList
Deprecated.
If programSpliceFlag is false, a non-empty list containing the SpliceInsertCommand.ComponentSplices. Otherwise, an empty list.
-
public final boolean autoReturn
Deprecated.
If breakDurationUs is not C.TIME_UNSET, defines whether breakDurationUs should be used to know when to return to the network feed. If breakDurationUs is C.TIME_UNSET, the value is undefined.
-
public final long breakDurationUs
Deprecated.
The duration of the splice in microseconds, or C.TIME_UNSET if no duration is present.
-
public final int uniqueProgramId
Deprecated.
The unique program id as defined in SCTE35, Section 9.3.3.
-
public final int availNum
Deprecated.
Holds the value of avail_num as defined in SCTE35, Section 9.3.3.
-
public final int availsExpected
Deprecated.
Holds the value of avails_expected as defined in SCTE35, Section 9.3.3.
-
public static final[Parcelable.Creator](https://developer.android.com/reference/android/os/Parcelable.Creator.html "class or interface in android.os")<[SpliceInsertCommand](SpliceInsertCommand.html "class in com.google.android.exoplayer2.metadata.scte35")> CREATOR
Deprecated.
-
public[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")toString()
Deprecated.
Overrides:toString in class SpliceCommand
-
public void writeToParcel([Parcel](https://developer.android.com/reference/android/os/Parcel.html "class or interface in android.os")dest,
int flags)
Deprecated.