Class 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.
    • Field Detail

      • spliceEventId

        public final long spliceEventId
        Deprecated.
        The splice event id.
      • spliceEventCancelIndicator

        public final boolean spliceEventCancelIndicator
        Deprecated.
        True if the event with id spliceEventId 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.
      • programSplicePts

        public final long programSplicePts
        Deprecated.
        If programSpliceFlag is true, the PTS at which the program splice should occur. C.TIME_UNSET otherwise.
      • programSplicePlaybackPositionUs

        public final long programSplicePlaybackPositionUs
        Deprecated.
        Equivalent to programSplicePts but in the playback timebase.
      • breakDurationUs

        public final long breakDurationUs
        Deprecated.
        The duration of the splice in microseconds, or C.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 of avail_num as defined in SCTE35, Section 9.3.3.
      • availsExpected

        public final int availsExpected
        Deprecated.
        Holds the value of avails_expected as defined in SCTE35, Section 9.3.3.
    • Method Detail

      • writeToParcel

        public void writeToParcel​(Parcel dest,
                                  int flags)
        Deprecated.