# SimpleBasePlayer.MediaItemData.Builder

Artifact: [androidx.media3:media3-common](https://developer.android.com/jetpack/androidx/releases/media3) [View Source](https://cs.android.com/search?q=file:androidx/media3/common/SimpleBasePlayer.java+class:androidx.media3.common.SimpleBasePlayer.MediaItemData.Builder)

*** ** * ** ***


```
class SimpleBasePlayer.MediaItemData.Builder
```

<br />

*** ** * ** ***

A builder for `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData` objects.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData.Builder#Builder(java.lang.Object)(uid: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!)` Creates the builder. |

| ### Public functions |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData!` | `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData.Builder#build()()` Builds the `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData`. |
| `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData.Builder!` | `@https://checkerframework.org/api/com/google/errorprone/annotations/CanIgnoreReturnValue.html https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData.Builder#setDefaultPositionUs(long)(defaultPositionUs: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)` Sets the default position relative to the start of the media item at which to begin playback, in microseconds. |
| `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData.Builder!` | `@https://checkerframework.org/api/com/google/errorprone/annotations/CanIgnoreReturnValue.html https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData.Builder#setDurationUs(long)(durationUs: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)` Sets the duration of the media item, in microseconds. |
| `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData.Builder!` | `@https://checkerframework.org/api/com/google/errorprone/annotations/CanIgnoreReturnValue.html https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData.Builder#setElapsedRealtimeEpochOffsetMs(long)(elapsedRealtimeEpochOffsetMs: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)` Sets the offset between `https://developer.android.com/reference/android/os/SystemClock.html#elapsedRealtime()` and the time since the Unix epoch according to the clock of the media origin server. |
| `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData.Builder!` | `@https://checkerframework.org/api/com/google/errorprone/annotations/CanIgnoreReturnValue.html https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData.Builder#setIsDynamic(boolean)(isDynamic: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Sets whether this media item may change over time, for example a moving live window. |
| `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData.Builder!` | `@https://checkerframework.org/api/com/google/errorprone/annotations/CanIgnoreReturnValue.html https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData.Builder#setIsPlaceholder(boolean)(isPlaceholder: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Sets whether this media item contains placeholder information because the real information has yet to be loaded. |
| `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData.Builder!` | `@https://checkerframework.org/api/com/google/errorprone/annotations/CanIgnoreReturnValue.html https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData.Builder#setIsSeekable(boolean)(isSeekable: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Sets whether it's possible to seek within this media item. |
| `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData.Builder!` | `@https://checkerframework.org/api/com/google/errorprone/annotations/CanIgnoreReturnValue.html https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData.Builder#setLiveConfiguration(androidx.media3.common.MediaItem.LiveConfiguration)(liveConfiguration: https://developer.android.com/reference/kotlin/androidx/media3/common/MediaItem.LiveConfiguration?)` Sets the active `https://developer.android.com/reference/kotlin/androidx/media3/common/MediaItem.LiveConfiguration`, or null if the media item is not live. |
| `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData.Builder!` | `@https://checkerframework.org/api/com/google/errorprone/annotations/CanIgnoreReturnValue.html https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData.Builder#setManifest(java.lang.Object)(manifest: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?)` Sets the manifest of the media item. |
| `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData.Builder!` | `@https://checkerframework.org/api/com/google/errorprone/annotations/CanIgnoreReturnValue.html https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData.Builder#setMediaItem(androidx.media3.common.MediaItem)(mediaItem: https://developer.android.com/reference/kotlin/androidx/media3/common/MediaItem!)` Sets the `https://developer.android.com/reference/kotlin/androidx/media3/common/MediaItem`. |
| `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData.Builder!` | `@https://checkerframework.org/api/com/google/errorprone/annotations/CanIgnoreReturnValue.html https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData.Builder#setMediaMetadata(androidx.media3.common.MediaMetadata)(mediaMetadata: https://developer.android.com/reference/kotlin/androidx/media3/common/MediaMetadata?)` Sets the `https://developer.android.com/reference/kotlin/androidx/media3/common/MediaMetadata`. |
| `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData.Builder!` | `@https://checkerframework.org/api/com/google/errorprone/annotations/CanIgnoreReturnValue.html https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData.Builder#setPeriods(java.util.List<androidx.media3.common.SimpleBasePlayer.PeriodData>)(periods: (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/common/SimpleBasePlayer.PeriodData!>!)` Sets the list of `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.PeriodData` in this media item. |
| `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData.Builder!` | `@https://checkerframework.org/api/com/google/errorprone/annotations/CanIgnoreReturnValue.html https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData.Builder#setPositionInFirstPeriodUs(long)(positionInFirstPeriodUs: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)` Sets the position of the start of this media item relative to the start of the first period belonging to it, in microseconds. |
| `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData.Builder!` | `@https://checkerframework.org/api/com/google/errorprone/annotations/CanIgnoreReturnValue.html https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData.Builder#setPresentationStartTimeMs(long)(presentationStartTimeMs: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)` Sets the start time of the presentation. |
| `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData.Builder!` | `@https://checkerframework.org/api/com/google/errorprone/annotations/CanIgnoreReturnValue.html https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData.Builder#setTracks(androidx.media3.common.Tracks)(tracks: https://developer.android.com/reference/kotlin/androidx/media3/common/Tracks!)` Sets the `https://developer.android.com/reference/kotlin/androidx/media3/common/Tracks` of this media item. |
| `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData.Builder!` | `@https://checkerframework.org/api/com/google/errorprone/annotations/CanIgnoreReturnValue.html https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData.Builder#setUid(java.lang.Object)(uid: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!)` Sets the unique identifier of this media item within a playlist. |
| `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData.Builder!` | `@https://checkerframework.org/api/com/google/errorprone/annotations/CanIgnoreReturnValue.html https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData.Builder#setWindowStartTimeMs(long)(windowStartTimeMs: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)` Sets the start time of the window. |

## Public constructors

### Builder

```
Builder(uid: Any!)
```

Creates the builder.

| Parameters |
|---|---|
| `uid: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!` | The unique identifier of the media item within a playlist. This value will be set as `https://developer.android.com/reference/kotlin/androidx/media3/common/Timeline.Window#uid()` for this item. |

## Public functions

### build

```
fun build(): SimpleBasePlayer.MediaItemData!
```

Builds the `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData`.

### setDefaultPositionUs

```
@CanIgnoreReturnValue
fun setDefaultPositionUs(defaultPositionUs: Long): SimpleBasePlayer.MediaItemData.Builder!
```

Sets the default position relative to the start of the media item at which to begin playback, in microseconds.

The default position must be less or equal to the `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData.Builder#setDurationUs(long)`, if set.

| Parameters |
|---|---|
| `defaultPositionUs: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html` | The default position relative to the start of the media item at which to begin playback, in microseconds. |

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData.Builder!` | This builder. |

### setDurationUs

```
@CanIgnoreReturnValue
fun setDurationUs(durationUs: Long): SimpleBasePlayer.MediaItemData.Builder!
```

Sets the duration of the media item, in microseconds.

If both this duration and all `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData.Builder#setPeriods(java.util.List<androidx.media3.common.SimpleBasePlayer.PeriodData>)` durations are set, the sum of this duration and the `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData.Builder#setPositionInFirstPeriodUs(long)` must match the total duration of all periods.

| Parameters |
|---|---|
| `durationUs: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html` | The duration of the media item, in microseconds, or `https://developer.android.com/reference/kotlin/androidx/media3/common/C#TIME_UNSET()` if unknown. |

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData.Builder!` | This builder. |

### setElapsedRealtimeEpochOffsetMs

```
@CanIgnoreReturnValue
fun setElapsedRealtimeEpochOffsetMs(elapsedRealtimeEpochOffsetMs: Long): SimpleBasePlayer.MediaItemData.Builder!
```

Sets the offset between `https://developer.android.com/reference/android/os/SystemClock.html#elapsedRealtime()` and the time since the Unix epoch according to the clock of the media origin server.

This value can only be set to anything other than `https://developer.android.com/reference/kotlin/androidx/media3/common/C#TIME_UNSET()` if the stream is `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData.Builder#setLiveConfiguration(androidx.media3.common.MediaItem.LiveConfiguration)`.

| Parameters |
|---|---|
| `elapsedRealtimeEpochOffsetMs: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html` | The offset between `https://developer.android.com/reference/android/os/SystemClock.html#elapsedRealtime()` and the time since the Unix epoch according to the clock of the media origin server, or `https://developer.android.com/reference/kotlin/androidx/media3/common/C#TIME_UNSET()` if unknown or not applicable. |

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData.Builder!` | This builder. |

### setIsDynamic

```
@CanIgnoreReturnValue
fun setIsDynamic(isDynamic: Boolean): SimpleBasePlayer.MediaItemData.Builder!
```

Sets whether this media item may change over time, for example a moving live window.

| Parameters |
|---|---|
| `isDynamic: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | Whether this media item may change over time, for example a moving live window. |

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData.Builder!` | This builder. |

### setIsPlaceholder

```
@CanIgnoreReturnValue
fun setIsPlaceholder(isPlaceholder: Boolean): SimpleBasePlayer.MediaItemData.Builder!
```

Sets whether this media item contains placeholder information because the real information has yet to be loaded.

| Parameters |
|---|---|
| `isPlaceholder: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | Whether this media item contains placeholder information because the real information has yet to be loaded. |

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData.Builder!` | This builder. |

### setIsSeekable

```
@CanIgnoreReturnValue
fun setIsSeekable(isSeekable: Boolean): SimpleBasePlayer.MediaItemData.Builder!
```

Sets whether it's possible to seek within this media item.

| Parameters |
|---|---|
| `isSeekable: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | Whether it's possible to seek within this media item. |

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData.Builder!` | This builder. |

### setLiveConfiguration

```
@CanIgnoreReturnValue
fun setLiveConfiguration(liveConfiguration: MediaItem.LiveConfiguration?): SimpleBasePlayer.MediaItemData.Builder!
```

Sets the active `https://developer.android.com/reference/kotlin/androidx/media3/common/MediaItem.LiveConfiguration`, or null if the media item is not live.

| Parameters |
|---|---|
| `liveConfiguration: https://developer.android.com/reference/kotlin/androidx/media3/common/MediaItem.LiveConfiguration?` | The active `https://developer.android.com/reference/kotlin/androidx/media3/common/MediaItem.LiveConfiguration`, or null if the media item is not live. |

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData.Builder!` | This builder. |

### setManifest

```
@CanIgnoreReturnValue
fun setManifest(manifest: Any?): SimpleBasePlayer.MediaItemData.Builder!
```

Sets the manifest of the media item.

| Parameters |
|---|---|
| `manifest: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?` | The manifest of the media item, or null if not applicable. |

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData.Builder!` | This builder. |

### setMediaItem

```
@CanIgnoreReturnValue
fun setMediaItem(mediaItem: MediaItem!): SimpleBasePlayer.MediaItemData.Builder!
```

Sets the `https://developer.android.com/reference/kotlin/androidx/media3/common/MediaItem`.

| Parameters |
|---|---|
| `mediaItem: https://developer.android.com/reference/kotlin/androidx/media3/common/MediaItem!` | The `https://developer.android.com/reference/kotlin/androidx/media3/common/MediaItem`. |

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData.Builder!` | This builder. |

### setMediaMetadata

```
@CanIgnoreReturnValue
fun setMediaMetadata(mediaMetadata: MediaMetadata?): SimpleBasePlayer.MediaItemData.Builder!
```

Sets the `https://developer.android.com/reference/kotlin/androidx/media3/common/MediaMetadata`.

This data includes static data from the `https://developer.android.com/reference/kotlin/androidx/media3/common/MediaItem#mediaMetadata()` and the media's `https://developer.android.com/reference/kotlin/androidx/media3/common/Format#metadata()`, as well any dynamic metadata that has been parsed from the media. If null, the metadata is assumed to be the simple combination of the `https://developer.android.com/reference/kotlin/androidx/media3/common/MediaItem#mediaMetadata()` metadata and the metadata of the selected `https://developer.android.com/reference/kotlin/androidx/media3/common/Format#metadata()`.

| Parameters |
|---|---|
| `mediaMetadata: https://developer.android.com/reference/kotlin/androidx/media3/common/MediaMetadata?` | The `https://developer.android.com/reference/kotlin/androidx/media3/common/MediaMetadata`, or null to assume that the metadata is the simple combination of the `https://developer.android.com/reference/kotlin/androidx/media3/common/MediaItem#mediaMetadata()` metadata and the metadata of the selected `https://developer.android.com/reference/kotlin/androidx/media3/common/Format#metadata()`. |

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData.Builder!` | This builder. |

### setPeriods

```
@CanIgnoreReturnValue
fun setPeriods(periods: (Mutable)List<SimpleBasePlayer.PeriodData!>!): SimpleBasePlayer.MediaItemData.Builder!
```

Sets the list of `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.PeriodData` in this media item.

All periods must have unique `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.PeriodData.Builder#setUid(java.lang.Object)` and only the last period is allowed to have an unset `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.PeriodData.Builder#setDurationUs(long)`.

| Parameters |
|---|---|
| `periods: (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/common/SimpleBasePlayer.PeriodData!>!` | The list of `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.PeriodData` in this media item, or an empty list to assume a single period without ads and the same duration as the media item. |

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData.Builder!` | This builder. |

### setPositionInFirstPeriodUs

```
@CanIgnoreReturnValue
fun setPositionInFirstPeriodUs(positionInFirstPeriodUs: Long): SimpleBasePlayer.MediaItemData.Builder!
```

Sets the position of the start of this media item relative to the start of the first period belonging to it, in microseconds.

| Parameters |
|---|---|
| `positionInFirstPeriodUs: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html` | The position of the start of this media item relative to the start of the first period belonging to it, in microseconds. |

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData.Builder!` | This builder. |

### setPresentationStartTimeMs

```
@CanIgnoreReturnValue
fun setPresentationStartTimeMs(presentationStartTimeMs: Long): SimpleBasePlayer.MediaItemData.Builder!
```

Sets the start time of the presentation.

| Parameters |
|---|---|
| `presentationStartTimeMs: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html` | The start time of the presentation, in milliseconds since the Unix epoch, or `https://developer.android.com/reference/kotlin/androidx/media3/common/C#TIME_UNSET()` if unknown or not applicable. |

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData.Builder!` | This builder. |

### setTracks

```
@CanIgnoreReturnValue
fun setTracks(tracks: Tracks!): SimpleBasePlayer.MediaItemData.Builder!
```

Sets the `https://developer.android.com/reference/kotlin/androidx/media3/common/Tracks` of this media item.

| Parameters |
|---|---|
| `tracks: https://developer.android.com/reference/kotlin/androidx/media3/common/Tracks!` | The `https://developer.android.com/reference/kotlin/androidx/media3/common/Tracks` of this media item. |

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData.Builder!` | This builder. |

### setUid

```
@CanIgnoreReturnValue
fun setUid(uid: Any!): SimpleBasePlayer.MediaItemData.Builder!
```

Sets the unique identifier of this media item within a playlist.

This value will be set as `https://developer.android.com/reference/kotlin/androidx/media3/common/Timeline.Window#uid()` for this item.

| Parameters |
|---|---|
| `uid: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!` | The unique identifier of this media item within a playlist. |

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData.Builder!` | This builder. |

### setWindowStartTimeMs

```
@CanIgnoreReturnValue
fun setWindowStartTimeMs(windowStartTimeMs: Long): SimpleBasePlayer.MediaItemData.Builder!
```

Sets the start time of the window.

This value should be greater than or equal to the `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData.Builder#setPresentationStartTimeMs(long)`, if set.

| Parameters |
|---|---|
| `windowStartTimeMs: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html` | The start time of the window, in milliseconds since the Unix epoch, or `https://developer.android.com/reference/kotlin/androidx/media3/common/C#TIME_UNSET()` if unknown or not applicable. |

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData.Builder!` | This builder. |