# SpliceScheduleCommand.Event

Artifact: [androidx.media3:media3-extractor](https://developer.android.com/jetpack/androidx/releases/media3) [View Source](https://cs.android.com/search?q=file:androidx/media3/extractor/metadata/scte35/SpliceScheduleCommand.java+class:androidx.media3.extractor.metadata.scte35.SpliceScheduleCommand.Event)

*** ** * ** ***


```
public final class SpliceScheduleCommand.Event
```

<br />

*** ** * ** ***

Represents a splice event as contained in a `https://developer.android.com/reference/androidx/media3/extractor/metadata/scte35/SpliceScheduleCommand`.

## Summary

| ### Public fields |
|---|---|
| `final boolean` | `https://developer.android.com/reference/androidx/media3/extractor/metadata/scte35/SpliceScheduleCommand.Event#autoReturn()` If `https://developer.android.com/reference/androidx/media3/extractor/metadata/scte35/SpliceScheduleCommand.Event#breakDurationUs()` is not `https://developer.android.com/reference/androidx/media3/common/C#TIME_UNSET()`, defines whether `https://developer.android.com/reference/androidx/media3/extractor/metadata/scte35/SpliceScheduleCommand.Event#breakDurationUs()` should be used to know when to return to the network feed. |
| `final int` | `https://developer.android.com/reference/androidx/media3/extractor/metadata/scte35/SpliceScheduleCommand.Event#availNum()` Holds the value of `avail_num` as defined in SCTE35, Section 9.3.2. |
| `final int` | `https://developer.android.com/reference/androidx/media3/extractor/metadata/scte35/SpliceScheduleCommand.Event#availsExpected()` Holds the value of `avails_expected` as defined in SCTE35, Section 9.3.2. |
| `final long` | `https://developer.android.com/reference/androidx/media3/extractor/metadata/scte35/SpliceScheduleCommand.Event#breakDurationUs()` The duration of the splice in microseconds, or `https://developer.android.com/reference/androidx/media3/common/C#TIME_UNSET()` if no duration is present. |
| `final https://developer.android.com/reference/java/util/List.html<https://developer.android.com/reference/androidx/media3/extractor/metadata/scte35/SpliceScheduleCommand.ComponentSplice>` | `https://developer.android.com/reference/androidx/media3/extractor/metadata/scte35/SpliceScheduleCommand.Event#componentSpliceList()` If `https://developer.android.com/reference/androidx/media3/extractor/metadata/scte35/SpliceScheduleCommand.Event#programSpliceFlag()` is false, a non-empty list containing the `https://developer.android.com/reference/androidx/media3/extractor/metadata/scte35/SpliceScheduleCommand.ComponentSplice`s. |
| `final boolean` | `https://developer.android.com/reference/androidx/media3/extractor/metadata/scte35/SpliceScheduleCommand.Event#outOfNetworkIndicator()` If true, the splice event is an opportunity to exit from the network feed. |
| `final boolean` | `https://developer.android.com/reference/androidx/media3/extractor/metadata/scte35/SpliceScheduleCommand.Event#programSpliceFlag()` Whether the splice mode is program splice mode, whereby all PIDs/components are to be spliced. |
| `final boolean` | `https://developer.android.com/reference/androidx/media3/extractor/metadata/scte35/SpliceScheduleCommand.Event#spliceEventCancelIndicator()` True if the event with id `https://developer.android.com/reference/androidx/media3/extractor/metadata/scte35/SpliceScheduleCommand.Event#spliceEventId()` has been canceled. |
| `final long` | `https://developer.android.com/reference/androidx/media3/extractor/metadata/scte35/SpliceScheduleCommand.Event#spliceEventId()` The splice event id. |
| `final int` | `https://developer.android.com/reference/androidx/media3/extractor/metadata/scte35/SpliceScheduleCommand.Event#uniqueProgramId()` The unique program id as defined in SCTE35, Section 9.3.2. |
| `final long` | `https://developer.android.com/reference/androidx/media3/extractor/metadata/scte35/SpliceScheduleCommand.Event#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 fields

### autoReturn

```
public final boolean autoReturn
```

If `https://developer.android.com/reference/androidx/media3/extractor/metadata/scte35/SpliceScheduleCommand.Event#breakDurationUs()` is not `https://developer.android.com/reference/androidx/media3/common/C#TIME_UNSET()`, defines whether `https://developer.android.com/reference/androidx/media3/extractor/metadata/scte35/SpliceScheduleCommand.Event#breakDurationUs()` should be used to know when to return to the network feed. If `https://developer.android.com/reference/androidx/media3/extractor/metadata/scte35/SpliceScheduleCommand.Event#breakDurationUs()` is `https://developer.android.com/reference/androidx/media3/common/C#TIME_UNSET()`, the value is undefined.

### availNum

```
public final int availNum
```

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

### availsExpected

```
public final int availsExpected
```

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

### breakDurationUs

```
public final long breakDurationUs
```

The duration of the splice in microseconds, or `https://developer.android.com/reference/androidx/media3/common/C#TIME_UNSET()` if no duration is present.

### componentSpliceList

```
public final List<SpliceScheduleCommand.ComponentSplice> componentSpliceList
```

If `https://developer.android.com/reference/androidx/media3/extractor/metadata/scte35/SpliceScheduleCommand.Event#programSpliceFlag()` is false, a non-empty list containing the `https://developer.android.com/reference/androidx/media3/extractor/metadata/scte35/SpliceScheduleCommand.ComponentSplice`s. Otherwise, an empty list.

### 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.

### spliceEventCancelIndicator

```
public final boolean spliceEventCancelIndicator
```

True if the event with id `https://developer.android.com/reference/androidx/media3/extractor/metadata/scte35/SpliceScheduleCommand.Event#spliceEventId()` has been canceled.

### spliceEventId

```
public final long spliceEventId
```

The splice event id.

### uniqueProgramId

```
public final int uniqueProgramId
```

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

### 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.