public final class

SpliceScheduleCommand.Event

extends java.lang.Object

 java.lang.Object

↳androidx.media3.extractor.metadata.scte35.SpliceScheduleCommand.Event

Overview

Represents a splice event as contained in a SpliceScheduleCommand.

Summary

Fields
public final booleanautoReturn

If SpliceScheduleCommand.Event.breakDurationUs is not C.TIME_UNSET, defines whether SpliceScheduleCommand.Event.breakDurationUs should be used to know when to return to the network feed.

public final intavailNum

Holds the value of avail_num as defined in SCTE35, Section 9.3.2.

public final intavailsExpected

Holds the value of avails_expected as defined in SCTE35, Section 9.3.2.

public final longbreakDurationUs

The duration of the splice in microseconds, or C.TIME_UNSET if no duration is present.

public final java.util.List<SpliceScheduleCommand.ComponentSplice>componentSpliceList

If SpliceScheduleCommand.Event.programSpliceFlag is false, a non-empty list containing the SpliceScheduleCommand.ComponentSplices.

public final booleanoutOfNetworkIndicator

If true, the splice event is an opportunity to exit from the network feed.

public final booleanprogramSpliceFlag

Whether the splice mode is program splice mode, whereby all PIDs/components are to be spliced.

public final booleanspliceEventCancelIndicator

True if the event with id SpliceScheduleCommand.Event.spliceEventId has been canceled.

public final longspliceEventId

The splice event id.

public final intuniqueProgramId

The unique program id as defined in SCTE35, Section 9.3.2.

public final longutcSpliceTime

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.

Methods
from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Fields

public final long spliceEventId

The splice event id.

public final boolean spliceEventCancelIndicator

True if the event with id SpliceScheduleCommand.Event.spliceEventId has been canceled.

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.

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.

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.

public final java.util.List<SpliceScheduleCommand.ComponentSplice> componentSpliceList

If SpliceScheduleCommand.Event.programSpliceFlag is false, a non-empty list containing the SpliceScheduleCommand.ComponentSplices. Otherwise, an empty list.

public final boolean autoReturn

If SpliceScheduleCommand.Event.breakDurationUs is not C.TIME_UNSET, defines whether SpliceScheduleCommand.Event.breakDurationUs should be used to know when to return to the network feed. If SpliceScheduleCommand.Event.breakDurationUs is C.TIME_UNSET, the value is undefined.

public final long breakDurationUs

The duration of the splice in microseconds, or C.TIME_UNSET if no duration is present.

public final int uniqueProgramId

The unique program id as defined in SCTE35, Section 9.3.2.

public final int availNum

Holds the value of avail_num as defined in SCTE35, Section 9.3.2.

public final int availsExpected

Holds the value of avails_expected as defined in SCTE35, Section 9.3.2.