# HlsMediaPlaylist.Interstitial

Artifact: [androidx.media3:media3-exoplayer-hls](https://developer.android.com/jetpack/androidx/releases/media3) [View Source](https://cs.android.com/search?q=file:androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.java+class:androidx.media3.exoplayer.hls.playlist.HlsMediaPlaylist.Interstitial)

*** ** * ** ***

<br />

```
class HlsMediaPlaylist.Interstitial
```

<br />

*** ** * ** ***

An interstitial data range.

See RFC 8216bis, appendix D.2.

## Summary

| ### Nested types |
|---|
| `class https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.Interstitial.Builder` Builder for `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.Interstitial`. |
| `@https://developer.android.com/reference/java/lang/annotation/Retention.html(value = https://developer.android.com/reference/java/lang/annotation/RetentionPolicy.html#SOURCE) @https://developer.android.com/reference/kotlin/androidx/annotation/StringDef(value = ) @https://developer.android.com/reference/java/lang/annotation/Documented.html @https://developer.android.com/reference/java/lang/annotation/Target.html(value = https://developer.android.com/reference/java/lang/annotation/ElementType.html#TYPE_USE) annotation https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.Interstitial.CueTriggerType` The cue trigger type. |
| `@https://developer.android.com/reference/java/lang/annotation/Retention.html(value = https://developer.android.com/reference/java/lang/annotation/RetentionPolicy.html#SOURCE) @https://developer.android.com/reference/kotlin/androidx/annotation/StringDef(value = ) @https://developer.android.com/reference/java/lang/annotation/Documented.html @https://developer.android.com/reference/java/lang/annotation/Target.html(value = https://developer.android.com/reference/java/lang/annotation/ElementType.html#TYPE_USE) annotation https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.Interstitial.NavigationRestriction` The navigation restriction identifier. |
| `@https://developer.android.com/reference/java/lang/annotation/Retention.html(value = https://developer.android.com/reference/java/lang/annotation/RetentionPolicy.html#SOURCE) @https://developer.android.com/reference/kotlin/androidx/annotation/StringDef(value = ) @https://developer.android.com/reference/java/lang/annotation/Documented.html @https://developer.android.com/reference/java/lang/annotation/Target.html(value = https://developer.android.com/reference/java/lang/annotation/ElementType.html#TYPE_USE) annotation https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.Interstitial.SnapType` The snap identifier. |
| `@https://developer.android.com/reference/java/lang/annotation/Retention.html(value = https://developer.android.com/reference/java/lang/annotation/RetentionPolicy.html#SOURCE) @https://developer.android.com/reference/kotlin/androidx/annotation/StringDef(value = ) @https://developer.android.com/reference/java/lang/annotation/Documented.html @https://developer.android.com/reference/java/lang/annotation/Target.html(value = https://developer.android.com/reference/java/lang/annotation/ElementType.html#TYPE_USE) annotation https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.Interstitial.TimelineOccupiesType` The timeline occupies identifier. |
| `@https://developer.android.com/reference/java/lang/annotation/Retention.html(value = https://developer.android.com/reference/java/lang/annotation/RetentionPolicy.html#SOURCE) @https://developer.android.com/reference/kotlin/androidx/annotation/StringDef(value = ) @https://developer.android.com/reference/java/lang/annotation/Documented.html @https://developer.android.com/reference/java/lang/annotation/Target.html(value = https://developer.android.com/reference/java/lang/annotation/ElementType.html#TYPE_USE) annotation https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.Interstitial.TimelineStyleType` The timeline style identifier. |

| ### Constants |
|---|---|
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.Interstitial#CUE_TRIGGER_ONCE() = "ONCE"` Cue trigger type indicating to trigger the interstitial only once. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.Interstitial#CUE_TRIGGER_POST() = "POST"` Cue trigger type indicating to trigger the interstitial after playback of the primary asset. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.Interstitial#CUE_TRIGGER_PRE() = "PRE"` Cue trigger type indicating to trigger the interstitial before playback of the primary asset. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.Interstitial#NAVIGATION_RESTRICTION_JUMP() = "JUMP"` Navigation restriction identifier indicating to enforce playback of the interstitial if the user attempts to seek beyond the interstitial start position. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.Interstitial#NAVIGATION_RESTRICTION_SKIP() = "SKIP"` Navigation restriction identifier indicating to prevent seeking or changing the playback speed during the interstitial being played. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.Interstitial#SNAP_TYPE_IN() = "IN"` Snap identifier indicating to locate the segment boundary closest to the scheduled resumption point of the interstitial. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.Interstitial#SNAP_TYPE_OUT() = "OUT"` Snap identifier indicating to locate the segment boundary closest to the `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.Interstitial#startDateUnixUs()`. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.Interstitial#TIMELINE_OCCUPIES_POINT() = "POINT"` Timeline occupies identifier indicating to present the interstitial as a single point. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.Interstitial#TIMELINE_OCCUPIES_RANGE() = "RANGE"` Timeline occupies identifier indicating to present the interstitial as a range. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.Interstitial#TIMELINE_STYLE_HIGHLIGHT() = "HIGHLIGHT"` Timeline style identifier indicating to present the interstitial as distinct from the content. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.Interstitial#TIMELINE_STYLE_PRIMARY() = "PRIMARY"` Timeline style identifier indicating not to differentiate the interstitial from the content. |

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.Interstitial#Interstitial(java.lang.String,android.net.Uri,android.net.Uri,long,long,long,long,java.util.List<java.lang.String>,boolean,long,long,java.util.List<java.lang.String>,java.util.List<java.lang.String>,java.util.List<androidx.media3.exoplayer.hls.playlist.HlsMediaPlaylist.ClientDefinedAttribute>,boolean,java.lang.String,java.lang.String,long,long,java.lang.String)( id: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!, assetUri: https://developer.android.com/reference/android/net/Uri.html?, assetListUri: https://developer.android.com/reference/android/net/Uri.html?, startDateUnixUs: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html, endDateUnixUs: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html, durationUs: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html, plannedDurationUs: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html, cue: (https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-mutable-list/index.html)https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<@https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.Interstitial.CueTriggerType https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!>!, endOnNext: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, resumeOffsetUs: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html, playoutLimitUs: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html, snapTypes: (https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-mutable-list/index.html)https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<@https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.Interstitial.SnapType https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!>!, restrictions: (https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-mutable-list/index.html)https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<@https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.Interstitial.NavigationRestriction https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!>!, clientDefinedAttributes: (https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-mutable-list/index.html)https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.ClientDefinedAttribute!>!, contentMayVary: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, @https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.Interstitial.TimelineOccupiesType timelineOccupies: @https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.Interstitial.TimelineOccupiesType https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!, @https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.Interstitial.TimelineStyleType timelineStyle: @https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.Interstitial.TimelineStyleType https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!, skipControlOffsetUs: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html, skipControlDurationUs: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html, skipControlLabelId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html? )` Creates an instance. |

| ### Public functions |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.Interstitial#equals(java.lang.Object)(o: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?)` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.Interstitial#hashCode()()` |

| ### Public properties |
|---|---|
| `https://developer.android.com/reference/android/net/Uri.html?` | `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.Interstitial#assetListUri()` The asset list URI. |
| `https://developer.android.com/reference/android/net/Uri.html?` | `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.Interstitial#assetUri()` The asset URI. |
| `https://guava.dev/releases/snapshot-android/api/docs/com/google/common/collect/ImmutableList.html<https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.ClientDefinedAttribute!>!` | `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.Interstitial#clientDefinedAttributes()` The attributes defined by a client. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.Interstitial#contentMayVary()` Whether the content may vary between clients. |
| `(https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-mutable-list/index.html)https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!>!` | `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.Interstitial#cue()` The trigger cue types. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.Interstitial#durationUs()` The optional duration, in microseconds. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.Interstitial#endDateUnixUs()` The optional end time, in microseconds. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.Interstitial#endOnNext()` Whether the `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.Interstitial#endDateUnixUs()` of the interstitial is equal to the start `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist#startTimeUs()` of the following interstitial. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.Interstitial#id()` The required ID. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.Interstitial#plannedDurationUs()` The optional planned duration, in microseconds. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.Interstitial#playoutLimitUs()` The playout limit indicating the limit of the playback time of the interstitial. |
| `https://guava.dev/releases/snapshot-android/api/docs/com/google/common/collect/ImmutableList.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!>!` | `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.Interstitial#restrictions()` The navigation restrictions. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.Interstitial#resumeOffsetUs()` The offset from `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist#startTimeUs()` indicating where in the primary asset to resume playback after completing playback of the interstitial. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.Interstitial#skipControlDurationUs()` The duration of interstitial content the skip button should be displayed, in microseconds. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?` | `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.Interstitial#skipControlLabelId()` The ID of the label to be displayed on the skip control button. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.Interstitial#skipControlOffsetUs()` The offset from the start of the interstitial after which the skip control button is displayed, in microseconds. |
| `https://guava.dev/releases/snapshot-android/api/docs/com/google/common/collect/ImmutableList.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!>!` | `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.Interstitial#snapTypes()` The snap types. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.Interstitial#startDateUnixUs()` The required start time, in microseconds. |
| `@https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.Interstitial.TimelineOccupiesType https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `@https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.Interstitial.TimelineOccupiesType https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.Interstitial#timelineOccupies()` The timeline occupies type. |
| `@https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.Interstitial.TimelineStyleType https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `@https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.Interstitial.TimelineStyleType https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.Interstitial#timelineStyle()` The timeline style type. |

## Constants

### CUE_TRIGGER_ONCE

```
const val CUE_TRIGGER_ONCE = "ONCE": String!
```

Cue trigger type indicating to trigger the interstitial only once.

### CUE_TRIGGER_POST

```
const val CUE_TRIGGER_POST = "POST": String!
```

Cue trigger type indicating to trigger the interstitial after playback of the primary asset.

### CUE_TRIGGER_PRE

```
const val CUE_TRIGGER_PRE = "PRE": String!
```

Cue trigger type indicating to trigger the interstitial before playback of the primary asset.

### NAVIGATION_RESTRICTION_JUMP

```
const val NAVIGATION_RESTRICTION_JUMP = "JUMP": String!
```

Navigation restriction identifier indicating to enforce playback of the interstitial if the user attempts to seek beyond the interstitial start position.

### NAVIGATION_RESTRICTION_SKIP

```
const val NAVIGATION_RESTRICTION_SKIP = "SKIP": String!
```

Navigation restriction identifier indicating to prevent seeking or changing the playback speed during the interstitial being played.

### SNAP_TYPE_IN

```
const val SNAP_TYPE_IN = "IN": String!
```

Snap identifier indicating to locate the segment boundary closest to the scheduled resumption point of the interstitial.

### SNAP_TYPE_OUT

```
const val SNAP_TYPE_OUT = "OUT": String!
```

Snap identifier indicating to locate the segment boundary closest to the `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.Interstitial#startDateUnixUs()`.

### TIMELINE_OCCUPIES_POINT

```
const val TIMELINE_OCCUPIES_POINT = "POINT": String!
```

Timeline occupies identifier indicating to present the interstitial as a single point.

### TIMELINE_OCCUPIES_RANGE

```
const val TIMELINE_OCCUPIES_RANGE = "RANGE": String!
```

Timeline occupies identifier indicating to present the interstitial as a range.

### TIMELINE_STYLE_HIGHLIGHT

```
const val TIMELINE_STYLE_HIGHLIGHT = "HIGHLIGHT": String!
```

Timeline style identifier indicating to present the interstitial as distinct from the content.

### TIMELINE_STYLE_PRIMARY

```
const val TIMELINE_STYLE_PRIMARY = "PRIMARY": String!
```

Timeline style identifier indicating not to differentiate the interstitial from the content.

## Public constructors

### Interstitial

```
Interstitial(
    id: String!,
    assetUri: Uri?,
    assetListUri: Uri?,
    startDateUnixUs: Long,
    endDateUnixUs: Long,
    durationUs: Long,
    plannedDurationUs: Long,
    cue: (Mutable)List<@HlsMediaPlaylist.Interstitial.CueTriggerType String!>!,
    endOnNext: Boolean,
    resumeOffsetUs: Long,
    playoutLimitUs: Long,
    snapTypes: (Mutable)List<@HlsMediaPlaylist.Interstitial.SnapType String!>!,
    restrictions: (Mutable)List<@HlsMediaPlaylist.Interstitial.NavigationRestriction String!>!,
    clientDefinedAttributes: (Mutable)List<HlsMediaPlaylist.ClientDefinedAttribute!>!,
    contentMayVary: Boolean,
    @HlsMediaPlaylist.Interstitial.TimelineOccupiesType timelineOccupies: @HlsMediaPlaylist.Interstitial.TimelineOccupiesType String!,
    @HlsMediaPlaylist.Interstitial.TimelineStyleType timelineStyle: @HlsMediaPlaylist.Interstitial.TimelineStyleType String!,
    skipControlOffsetUs: Long,
    skipControlDurationUs: Long,
    skipControlLabelId: String?
)
```

Creates an instance.

## Public functions

### equals

```
fun equals(o: Any?): Boolean
```

### hashCode

```
fun hashCode(): Int
```

## Public properties

### assetListUri

```
val assetListUri: Uri?
```

The asset list URI. Required if `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.Interstitial#assetUri()` is null.

### assetUri

```
val assetUri: Uri?
```

The asset URI. Required if `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.Interstitial#assetListUri()` is null.

### clientDefinedAttributes

```
val clientDefinedAttributes: ImmutableList<HlsMediaPlaylist.ClientDefinedAttribute!>!
```

The attributes defined by a client. For informational purpose only.

### contentMayVary

```
val contentMayVary: Boolean
```

Whether the content may vary between clients.

### cue

```
val cue: (Mutable)List<String!>!
```

The trigger cue types.

### durationUs

```
val durationUs: Long
```

The optional duration, in microseconds. `https://developer.android.com/reference/kotlin/androidx/media3/common/C#TIME_UNSET()` if not present.

### endDateUnixUs

```
val endDateUnixUs: Long
```

The optional end time, in microseconds. `https://developer.android.com/reference/kotlin/androidx/media3/common/C#TIME_UNSET()` if not present.

### endOnNext

```
val endOnNext: Boolean
```

Whether the `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist.Interstitial#endDateUnixUs()` of the interstitial is equal to the start `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist#startTimeUs()` of the following interstitial. `false` if not present.

### id

```
val id: String!
```

The required ID.

### plannedDurationUs

```
val plannedDurationUs: Long
```

The optional planned duration, in microseconds. `https://developer.android.com/reference/kotlin/androidx/media3/common/C#TIME_UNSET()` if not present.

### playoutLimitUs

```
val playoutLimitUs: Long
```

The playout limit indicating the limit of the playback time of the interstitial.

### restrictions

```
val restrictions: ImmutableList<String!>!
```

The navigation restrictions.

### resumeOffsetUs

```
val resumeOffsetUs: Long
```

The offset from `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/hls/playlist/HlsMediaPlaylist#startTimeUs()` indicating where in the primary asset to resume playback after completing playback of the interstitial. `https://developer.android.com/reference/kotlin/androidx/media3/common/C#TIME_UNSET()` if not present. If not present, the value is considered to be the duration of the interstitial.

### skipControlDurationUs

```
val skipControlDurationUs: Long
```

The duration of interstitial content the skip button should be displayed, in microseconds. `https://developer.android.com/reference/kotlin/androidx/media3/common/C#TIME_UNSET()` if not present and the skip button should be displayed until the end of the interstitial.

### skipControlLabelId

```
val skipControlLabelId: String?
```

The ID of the label to be displayed on the skip control button. Null if not present.

### skipControlOffsetUs

```
val skipControlOffsetUs: Long
```

The offset from the start of the interstitial after which the skip control button is displayed, in microseconds. `https://developer.android.com/reference/kotlin/androidx/media3/common/C#TIME_UNSET()` if not present.

### snapTypes

```
val snapTypes: ImmutableList<String!>!
```

The snap types.

### startDateUnixUs

```
val startDateUnixUs: Long
```

The required start time, in microseconds.

### timelineOccupies

```
@HlsMediaPlaylist.Interstitial.TimelineOccupiesType
val timelineOccupies: @HlsMediaPlaylist.Interstitial.TimelineOccupiesType String!
```

The timeline occupies type.

### timelineStyle

```
@HlsMediaPlaylist.Interstitial.TimelineStyleType
val timelineStyle: @HlsMediaPlaylist.Interstitial.TimelineStyleType String!
```

The timeline style type.