Class SpliceInsertCommand

  • All Implemented Interfaces:
    Parcelable, Metadata.Entry

    public final class SpliceInsertCommand
    extends SpliceCommand
    Represents a splice insert command defined in SCTE35, Section 9.3.3.
    • Field Detail

      • spliceEventId

        public final long spliceEventId
        The splice event id.
      • spliceEventCancelIndicator

        public final boolean spliceEventCancelIndicator
        True if the event with id spliceEventId has been canceled.
      • outOfNetworkIndicator

        public final boolean outOfNetworkIndicator
        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
        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
        If programSpliceFlag is true, the PTS at which the program splice should occur. C.TIME_UNSET otherwise.
      • programSplicePlaybackPositionUs

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

        public final long breakDurationUs
        The duration of the splice in microseconds, or C.TIME_UNSET if no duration is present.
      • uniqueProgramId

        public final int uniqueProgramId
        The unique program id as defined in SCTE35, Section 9.3.3.
      • availNum

        public final int availNum
        Holds the value of avail_num as defined in SCTE35, Section 9.3.3.
      • availsExpected

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

      • writeToParcel

        public void writeToParcel​(Parcel dest,
                                  int flags)