# SpliceScheduleCommand.Event

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

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/media3/extractor/metadata/scte35/SpliceScheduleCommand.Event "View this page in Java")

<br />

```
class SpliceScheduleCommand.Event
```

<br />

*** ** * ** ***

Represents a splice event as contained in a[SpliceScheduleCommand](https://developer.android.com/reference/kotlin/androidx/media3/extractor/metadata/scte35/SpliceScheduleCommand).

## Summary

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

### autoReturn

```
val autoReturn: Boolean
```

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

### availNum

```
val availNum: Int
```

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

### availsExpected

```
val availsExpected: Int
```

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

### breakDurationUs

```
val breakDurationUs: Long
```

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

### componentSpliceList

```
val componentSpliceList: (Mutable)List<SpliceScheduleCommand.ComponentSplice!>!
```

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

### outOfNetworkIndicator

```
val outOfNetworkIndicator: Boolean
```

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

```
val programSpliceFlag: Boolean
```

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

```
val spliceEventCancelIndicator: Boolean
```

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

### spliceEventId

```
val spliceEventId: Long
```

The splice event id.  

### uniqueProgramId

```
val uniqueProgramId: Int
```

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

### utcSpliceTime

```
val utcSpliceTime: Long
```

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.