Class SpliceScheduleCommand.Event
- java.lang.Object
-
- com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand.Event
-
- Enclosing class:
- SpliceScheduleCommand
public static final class SpliceScheduleCommand.Event extends Object
Represents a splice event as contained in aSpliceScheduleCommand.
-
-
Field Summary
Fields Modifier and Type Field Description booleanautoReturnIfbreakDurationUsis notC.TIME_UNSET, defines whetherbreakDurationUsshould be used to know when to return to the network feed.intavailNumHolds the value ofavail_numas defined in SCTE35, Section 9.3.2.intavailsExpectedHolds the value ofavails_expectedas defined in SCTE35, Section 9.3.2.longbreakDurationUsThe duration of the splice in microseconds, orC.TIME_UNSETif no duration is present.List<SpliceScheduleCommand.ComponentSplice>componentSpliceListIfprogramSpliceFlagis false, a non-empty list containing theSpliceScheduleCommand.ComponentSplices.booleanoutOfNetworkIndicatorIf true, the splice event is an opportunity to exit from the network feed.booleanprogramSpliceFlagWhether the splice mode is program splice mode, whereby all PIDs/components are to be spliced.booleanspliceEventCancelIndicatorTrue if the event with idspliceEventIdhas been canceled.longspliceEventIdThe splice event id.intuniqueProgramIdThe unique program id as defined in SCTE35, Section 9.3.2.longutcSpliceTimeRepresents the time of the signaled splice event as the number of seconds since 00 hours UTC, January 6th, 1980, with the count of intervening leap seconds included.
-
-
-
Field Detail
-
spliceEventId
public final long spliceEventId
The splice event id.
-
spliceEventCancelIndicator
public final boolean spliceEventCancelIndicator
True if the event with idspliceEventIdhas 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.
-
utcSpliceTime
public final long utcSpliceTime
Represents the time of the signaled splice event as the number of seconds since 00 hours UTC, January 6th, 1980, with the count of intervening leap seconds included.
-
componentSpliceList
public final List<SpliceScheduleCommand.ComponentSplice> componentSpliceList
IfprogramSpliceFlagis false, a non-empty list containing theSpliceScheduleCommand.ComponentSplices. Otherwise, an empty list.
-
autoReturn
public final boolean autoReturn
IfbreakDurationUsis notC.TIME_UNSET, defines whetherbreakDurationUsshould be used to know when to return to the network feed. IfbreakDurationUsisC.TIME_UNSET, the value is undefined.
-
breakDurationUs
public final long breakDurationUs
The duration of the splice in microseconds, orC.TIME_UNSETif no duration is present.
-
uniqueProgramId
public final int uniqueProgramId
The unique program id as defined in SCTE35, Section 9.3.2.
-
availNum
public final int availNum
Holds the value ofavail_numas defined in SCTE35, Section 9.3.2.
-
availsExpected
public final int availsExpected
Holds the value ofavails_expectedas defined in SCTE35, Section 9.3.2.
-
-