Class SpliceInsertCommand
- java.lang.Object
-
- com.google.android.exoplayer2.metadata.scte35.SpliceCommand
-
- com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand
-
- All Implemented Interfaces:
Parcelable
,Metadata.Entry
@Deprecated public final class SpliceInsertCommand extends SpliceCommand
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 Class Summary
Nested Classes Modifier and Type Class Description static class
SpliceInsertCommand.ComponentSplice
Deprecated.Holds splicing information for specific splice insert command components.-
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 boolean
autoReturn
Deprecated.IfbreakDurationUs
is notC.TIME_UNSET
, defines whetherbreakDurationUs
should be used to know when to return to the network feed.int
availNum
Deprecated.Holds the value ofavail_num
as defined in SCTE35, Section 9.3.3.int
availsExpected
Deprecated.Holds the value ofavails_expected
as defined in SCTE35, Section 9.3.3.long
breakDurationUs
Deprecated.The duration of the splice in microseconds, orC.TIME_UNSET
if no duration is present.List<SpliceInsertCommand.ComponentSplice>
componentSpliceList
Deprecated.IfprogramSpliceFlag
is false, a non-empty list containing theSpliceInsertCommand.ComponentSplice
s.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 toprogramSplicePts
but in the playback timebase.long
programSplicePts
Deprecated.IfprogramSpliceFlag
is true, the PTS at which the program splice should occur.boolean
spliceEventCancelIndicator
Deprecated.True if the event with idspliceEventId
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.-
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
-
spliceEventId
public final long spliceEventId
Deprecated.The splice event id.
-
spliceEventCancelIndicator
public final boolean spliceEventCancelIndicator
Deprecated.True if the event with idspliceEventId
has been canceled.
-
outOfNetworkIndicator
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.
-
programSpliceFlag
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.
-
spliceImmediateFlag
public final boolean spliceImmediateFlag
Deprecated.Whether splicing should be done at the nearest opportunity. If false, splicing should be done at the moment indicated byprogramSplicePlaybackPositionUs
orSpliceInsertCommand.ComponentSplice.componentSplicePlaybackPositionUs
, depending onprogramSpliceFlag
.
-
programSplicePts
public final long programSplicePts
Deprecated.IfprogramSpliceFlag
is true, the PTS at which the program splice should occur.C.TIME_UNSET
otherwise.
-
programSplicePlaybackPositionUs
public final long programSplicePlaybackPositionUs
Deprecated.Equivalent toprogramSplicePts
but in the playback timebase.
-
componentSpliceList
public final List<SpliceInsertCommand.ComponentSplice> componentSpliceList
Deprecated.IfprogramSpliceFlag
is false, a non-empty list containing theSpliceInsertCommand.ComponentSplice
s. Otherwise, an empty list.
-
autoReturn
public final boolean autoReturn
Deprecated.IfbreakDurationUs
is notC.TIME_UNSET
, defines whetherbreakDurationUs
should be used to know when to return to the network feed. IfbreakDurationUs
isC.TIME_UNSET
, the value is undefined.
-
breakDurationUs
public final long breakDurationUs
Deprecated.The duration of the splice in microseconds, orC.TIME_UNSET
if no duration is present.
-
uniqueProgramId
public final int uniqueProgramId
Deprecated.The unique program id as defined in SCTE35, Section 9.3.3.
-
availNum
public final int availNum
Deprecated.Holds the value ofavail_num
as defined in SCTE35, Section 9.3.3.
-
availsExpected
public final int availsExpected
Deprecated.Holds the value ofavails_expected
as defined in SCTE35, Section 9.3.3.
-
CREATOR
public static final Parcelable.Creator<SpliceInsertCommand> CREATOR
Deprecated.
-
-
Method Detail
-
toString
public String toString()
Deprecated.- Overrides:
toString
in classSpliceCommand
-
writeToParcel
public void writeToParcel(Parcel dest, int flags)
Deprecated.
-
-