# DashManifest

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

*** ** * ** ***


```
@UnstableApi
class DashManifest : FilterableManifest<DashManifest!>
```

<br />

*** ** * ** ***

Represents a DASH media presentation description (mpd), as defined by ISO/IEC 23009-1:2014 Section 5.3.1.2.

## Summary

| ### Public constructors |
|---|
| `[DashManifest](https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/dash/manifest/DashManifest#DashManifest(long,long,long,boolean,long,long,long,long,androidx.media3.exoplayer.dash.manifest.ProgramInformation,androidx.media3.exoplayer.dash.manifest.UtcTimingElement,androidx.media3.exoplayer.dash.manifest.ServiceDescriptionElement,android.net.Uri,java.util.List<androidx.media3.exoplayer.dash.manifest.Period>))( availabilityStartTimeMs: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html, durationMs: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html, minBufferTimeMs: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html, dynamic: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, minUpdatePeriodMs: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html, timeShiftBufferDepthMs: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html, suggestedPresentationDelayMs: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html, publishTimeMs: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html, programInformation: https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/dash/manifest/ProgramInformation?, utcTiming: https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/dash/manifest/UtcTimingElement?, serviceDescription: https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/dash/manifest/ServiceDescriptionElement?, location: https://developer.android.com/reference/android/net/Uri.html?, 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/exoplayer/dash/manifest/Period!>! )` **This function is deprecated.** Use `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/dash/manifest/DashManifest#DashManifest(long,long,long,boolean,long,long,long,long,androidx.media3.exoplayer.dash.manifest.ProgramInformation,androidx.media3.exoplayer.dash.manifest.UtcTimingElement,androidx.media3.exoplayer.dash.manifest.ServiceDescriptionElement,java.util.List<androidx.media3.exoplayer.dash.manifest.Period>,java.util.List<androidx.media3.exoplayer.dash.manifest.Location>,androidx.media3.exoplayer.dash.manifest.ContentSteering)` instead. <br /> |
| `[DashManifest](https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/dash/manifest/DashManifest#DashManifest(long,long,long,boolean,long,long,long,long,androidx.media3.exoplayer.dash.manifest.ProgramInformation,androidx.media3.exoplayer.dash.manifest.UtcTimingElement,androidx.media3.exoplayer.dash.manifest.ServiceDescriptionElement,java.util.List<androidx.media3.exoplayer.dash.manifest.Period>,java.util.List<androidx.media3.exoplayer.dash.manifest.Location>))( availabilityStartTimeMs: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html, durationMs: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html, minBufferTimeMs: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html, dynamic: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, minUpdatePeriodMs: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html, timeShiftBufferDepthMs: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html, suggestedPresentationDelayMs: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html, publishTimeMs: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html, programInformation: https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/dash/manifest/ProgramInformation?, utcTiming: https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/dash/manifest/UtcTimingElement?, serviceDescription: https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/dash/manifest/ServiceDescriptionElement?, 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/exoplayer/dash/manifest/Period!>!, locations: (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/dash/manifest/Location!>! )` **This function is deprecated.** Use `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/dash/manifest/DashManifest#DashManifest(long,long,long,boolean,long,long,long,long,androidx.media3.exoplayer.dash.manifest.ProgramInformation,androidx.media3.exoplayer.dash.manifest.UtcTimingElement,androidx.media3.exoplayer.dash.manifest.ServiceDescriptionElement,java.util.List<androidx.media3.exoplayer.dash.manifest.Period>,java.util.List<androidx.media3.exoplayer.dash.manifest.Location>,androidx.media3.exoplayer.dash.manifest.ContentSteering)` instead. <br /> |
| `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/dash/manifest/DashManifest#DashManifest(long,long,long,boolean,long,long,long,long,androidx.media3.exoplayer.dash.manifest.ProgramInformation,androidx.media3.exoplayer.dash.manifest.UtcTimingElement,androidx.media3.exoplayer.dash.manifest.ServiceDescriptionElement,java.util.List<androidx.media3.exoplayer.dash.manifest.Period>,java.util.List<androidx.media3.exoplayer.dash.manifest.Location>,androidx.media3.exoplayer.dash.manifest.ContentSteering)( availabilityStartTimeMs: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html, durationMs: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html, minBufferTimeMs: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html, dynamic: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, minUpdatePeriodMs: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html, timeShiftBufferDepthMs: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html, suggestedPresentationDelayMs: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html, publishTimeMs: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html, programInformation: https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/dash/manifest/ProgramInformation?, utcTiming: https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/dash/manifest/UtcTimingElement?, serviceDescription: https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/dash/manifest/ServiceDescriptionElement?, 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/exoplayer/dash/manifest/Period!>!, locations: (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/dash/manifest/Location!>!, contentSteering: https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/dash/manifest/ContentSteering? )` |

| ### Public functions |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/dash/manifest/DashManifest!` | `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/dash/manifest/DashManifest#copy(java.util.List<androidx.media3.common.StreamKey>)(streamKeys: (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/StreamKey!>!)` Returns a copy of the manifest including only the streams specified by the given keys. |
| `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/dash/manifest/Period!` | `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/dash/manifest/DashManifest#getPeriod(int)(index: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/dash/manifest/DashManifest#getPeriodCount()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/dash/manifest/DashManifest#getPeriodDurationMs(int)(index: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/dash/manifest/DashManifest#getPeriodDurationUs(int)(index: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/dash/manifest/DashManifest#availabilityStartTimeMs()` The `availabilityStartTime` value in milliseconds since epoch, or `https://developer.android.com/reference/kotlin/androidx/media3/common/C#TIME_UNSET()` if not present. |
| `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/dash/manifest/ContentSteering?` | `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/dash/manifest/DashManifest#contentSteering()` The `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/dash/manifest/ContentSteering`, or `null` if not present. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/dash/manifest/DashManifest#durationMs()` The duration of the presentation in milliseconds, or `https://developer.android.com/reference/kotlin/androidx/media3/common/C#TIME_UNSET()` if not applicable. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/dash/manifest/DashManifest#dynamic()` Whether the manifest has value "dynamic" for the `type` attribute. |
| `https://developer.android.com/reference/android/net/Uri.html?` | `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/dash/manifest/DashManifest#location()` **This property is deprecated.** Use `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/dash/manifest/DashManifest#locations()` instead. <br /> |
| `https://guava.dev/releases/snapshot-android/api/docs/com/google/common/collect/ImmutableList.html<https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/dash/manifest/Location!>!` | `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/dash/manifest/DashManifest#locations()` The locations to request future updates of the DASH media presentation description (mpd). |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/dash/manifest/DashManifest#minBufferTimeMs()` The `minBufferTime` value in milliseconds, or `https://developer.android.com/reference/kotlin/androidx/media3/common/C#TIME_UNSET()` if not present. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/dash/manifest/DashManifest#minUpdatePeriodMs()` The `minimumUpdatePeriod` value in milliseconds, or `https://developer.android.com/reference/kotlin/androidx/media3/common/C#TIME_UNSET()` if not applicable. |
| `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/dash/manifest/ProgramInformation?` | `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/dash/manifest/DashManifest#programInformation()` The `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/dash/manifest/ProgramInformation`, or null if not present. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/dash/manifest/DashManifest#publishTimeMs()` The `publishTime` value in milliseconds since epoch, or `https://developer.android.com/reference/kotlin/androidx/media3/common/C#TIME_UNSET()` if not present. |
| `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/dash/manifest/ServiceDescriptionElement?` | `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/dash/manifest/DashManifest#serviceDescription()` The `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/dash/manifest/ServiceDescriptionElement`, or null if not present. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/dash/manifest/DashManifest#suggestedPresentationDelayMs()` The `suggestedPresentationDelay` value in milliseconds, or `https://developer.android.com/reference/kotlin/androidx/media3/common/C#TIME_UNSET()` if not present. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/dash/manifest/DashManifest#timeShiftBufferDepthMs()` The `timeShiftBufferDepth` value in milliseconds, or `https://developer.android.com/reference/kotlin/androidx/media3/common/C#TIME_UNSET()` if not present. |
| `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/dash/manifest/UtcTimingElement?` | `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/dash/manifest/DashManifest#utcTiming()` The `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/dash/manifest/UtcTimingElement`, or null if not present. |

## Public constructors

### DashManifest

```
[DashManifest](https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/dash/manifest/DashManifest#DashManifest(long,long,long,boolean,long,long,long,long,androidx.media3.exoplayer.dash.manifest.ProgramInformation,androidx.media3.exoplayer.dash.manifest.UtcTimingElement,androidx.media3.exoplayer.dash.manifest.ServiceDescriptionElement,android.net.Uri,java.util.List<androidx.media3.exoplayer.dash.manifest.Period>))(
    availabilityStartTimeMs: Long,
    durationMs: Long,
    minBufferTimeMs: Long,
    dynamic: Boolean,
    minUpdatePeriodMs: Long,
    timeShiftBufferDepthMs: Long,
    suggestedPresentationDelayMs: Long,
    publishTimeMs: Long,
    programInformation: ProgramInformation?,
    utcTiming: UtcTimingElement?,
    serviceDescription: ServiceDescriptionElement?,
    location: Uri?,
    periods: (Mutable)List<Period!>!
)
```

> [!CAUTION]
> **This function is deprecated.**   
>
> Use `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/dash/manifest/DashManifest#DashManifest(long,long,long,boolean,long,long,long,long,androidx.media3.exoplayer.dash.manifest.ProgramInformation,androidx.media3.exoplayer.dash.manifest.UtcTimingElement,androidx.media3.exoplayer.dash.manifest.ServiceDescriptionElement,java.util.List<androidx.media3.exoplayer.dash.manifest.Period>,java.util.List<androidx.media3.exoplayer.dash.manifest.Location>,androidx.media3.exoplayer.dash.manifest.ContentSteering)` instead.

### DashManifest

```
[DashManifest](https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/dash/manifest/DashManifest#DashManifest(long,long,long,boolean,long,long,long,long,androidx.media3.exoplayer.dash.manifest.ProgramInformation,androidx.media3.exoplayer.dash.manifest.UtcTimingElement,androidx.media3.exoplayer.dash.manifest.ServiceDescriptionElement,java.util.List<androidx.media3.exoplayer.dash.manifest.Period>,java.util.List<androidx.media3.exoplayer.dash.manifest.Location>))(
    availabilityStartTimeMs: Long,
    durationMs: Long,
    minBufferTimeMs: Long,
    dynamic: Boolean,
    minUpdatePeriodMs: Long,
    timeShiftBufferDepthMs: Long,
    suggestedPresentationDelayMs: Long,
    publishTimeMs: Long,
    programInformation: ProgramInformation?,
    utcTiming: UtcTimingElement?,
    serviceDescription: ServiceDescriptionElement?,
    periods: (Mutable)List<Period!>!,
    locations: (Mutable)List<Location!>!
)
```

> [!CAUTION]
> **This function is deprecated.**   
>
> Use `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/dash/manifest/DashManifest#DashManifest(long,long,long,boolean,long,long,long,long,androidx.media3.exoplayer.dash.manifest.ProgramInformation,androidx.media3.exoplayer.dash.manifest.UtcTimingElement,androidx.media3.exoplayer.dash.manifest.ServiceDescriptionElement,java.util.List<androidx.media3.exoplayer.dash.manifest.Period>,java.util.List<androidx.media3.exoplayer.dash.manifest.Location>,androidx.media3.exoplayer.dash.manifest.ContentSteering)` instead.

### DashManifest

```
DashManifest(
    availabilityStartTimeMs: Long,
    durationMs: Long,
    minBufferTimeMs: Long,
    dynamic: Boolean,
    minUpdatePeriodMs: Long,
    timeShiftBufferDepthMs: Long,
    suggestedPresentationDelayMs: Long,
    publishTimeMs: Long,
    programInformation: ProgramInformation?,
    utcTiming: UtcTimingElement?,
    serviceDescription: ServiceDescriptionElement?,
    periods: (Mutable)List<Period!>!,
    locations: (Mutable)List<Location!>!,
    contentSteering: ContentSteering?
)
```

## Public functions

### copy

```
fun copy(streamKeys: (Mutable)List<StreamKey!>!): DashManifest!
```

Returns a copy of the manifest including only the streams specified by the given keys. If the manifest is unchanged then the instance may return itself.

| Parameters |
|---|---|
| `streamKeys: (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/StreamKey!>!` | A non-empty list of stream keys. |

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/dash/manifest/DashManifest!` | The filtered manifest. |

### getPeriod

```
fun getPeriod(index: Int): Period!
```

### getPeriodCount

```
fun getPeriodCount(): Int
```

### getPeriodDurationMs

```
fun getPeriodDurationMs(index: Int): Long
```

### getPeriodDurationUs

```
fun getPeriodDurationUs(index: Int): Long
```

## Public properties

### availabilityStartTimeMs

```
val availabilityStartTimeMs: Long
```

The `availabilityStartTime` value in milliseconds since epoch, or `https://developer.android.com/reference/kotlin/androidx/media3/common/C#TIME_UNSET()` if not present.

### contentSteering

```
val contentSteering: ContentSteering?
```

The `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/dash/manifest/ContentSteering`, or `null` if not present.

### durationMs

```
val durationMs: Long
```

The duration of the presentation in milliseconds, or `https://developer.android.com/reference/kotlin/androidx/media3/common/C#TIME_UNSET()` if not applicable.

### dynamic

```
val dynamic: Boolean
```

Whether the manifest has value "dynamic" for the `type` attribute.

### location

```
val location: Uri?
```

> [!CAUTION]
> **This property is deprecated.**   
>
> Use `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/dash/manifest/DashManifest#locations()` instead.

### locations

```
val locations: ImmutableList<Location!>!
```

The locations to request future updates of the DASH media presentation description (mpd).

### minBufferTimeMs

```
val minBufferTimeMs: Long
```

The `minBufferTime` value in milliseconds, or `https://developer.android.com/reference/kotlin/androidx/media3/common/C#TIME_UNSET()` if not present.

### minUpdatePeriodMs

```
val minUpdatePeriodMs: Long
```

The `minimumUpdatePeriod` value in milliseconds, or `https://developer.android.com/reference/kotlin/androidx/media3/common/C#TIME_UNSET()` if not applicable.

### programInformation

```
val programInformation: ProgramInformation?
```

The `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/dash/manifest/ProgramInformation`, or null if not present.

### publishTimeMs

```
val publishTimeMs: Long
```

The `publishTime` value in milliseconds since epoch, or `https://developer.android.com/reference/kotlin/androidx/media3/common/C#TIME_UNSET()` if not present.

### serviceDescription

```
val serviceDescription: ServiceDescriptionElement?
```

The `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/dash/manifest/ServiceDescriptionElement`, or null if not present.

### suggestedPresentationDelayMs

```
val suggestedPresentationDelayMs: Long
```

The `suggestedPresentationDelay` value in milliseconds, or `https://developer.android.com/reference/kotlin/androidx/media3/common/C#TIME_UNSET()` if not present.

### timeShiftBufferDepthMs

```
val timeShiftBufferDepthMs: Long
```

The `timeShiftBufferDepth` value in milliseconds, or `https://developer.android.com/reference/kotlin/androidx/media3/common/C#TIME_UNSET()` if not present.

### utcTiming

```
val utcTiming: UtcTimingElement?
```

The `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/dash/manifest/UtcTimingElement`, or null if not present. Defined in DVB A168:7/2016, Section 4.7.2.