docs/doc/reference/com/google/android/exoplayer2/source/dash/manifest/DashManifest.html
Package com.google.android.exoplayer2.source.dash.manifest
All Implemented Interfaces:FilterableManifest<DashManifest>
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public classDashManifestextends[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")implements[FilterableManifest](../../../offline/FilterableManifest.html "interface in com.google.android.exoplayer2.offline")<[DashManifest](DashManifest.html "class in com.google.android.exoplayer2.source.dash.manifest")>
Deprecated. com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
Represents a DASH media presentation description (mpd), as defined by ISO/IEC 23009-1:2014 Section 5.3.1.2.
Fields | Modifier and Type | Field | Description |
| --- | --- | --- |
| long | availabilityStartTimeMs |
Deprecated.
The availabilityStartTime value in milliseconds since epoch, or C.TIME_UNSET if not present.
|
| long | durationMs |
Deprecated.
The duration of the presentation in milliseconds, or C.TIME_UNSET if not applicable.
|
| boolean | dynamic |
Deprecated.
Whether the manifest has value "dynamic" for the type attribute.
|
| Uri | location |
Deprecated.
The location of this manifest, or null if not present.
|
| long | minBufferTimeMs |
Deprecated.
The minBufferTime value in milliseconds, or C.TIME_UNSET if not present.
|
| long | minUpdatePeriodMs |
Deprecated.
The minimumUpdatePeriod value in milliseconds, or C.TIME_UNSET if not applicable.
|
| ProgramInformation | programInformation |
Deprecated.
The ProgramInformation, or null if not present.
|
| long | publishTimeMs |
Deprecated.
The publishTime value in milliseconds since epoch, or C.TIME_UNSET if not present.
|
| ServiceDescriptionElement | serviceDescription |
Deprecated.
The ServiceDescriptionElement, or null if not present.
|
| long | suggestedPresentationDelayMs |
Deprecated.
The suggestedPresentationDelay value in milliseconds, or C.TIME_UNSET if not present.
|
| long | timeShiftBufferDepthMs |
Deprecated.
The timeShiftBufferDepth value in milliseconds, or C.TIME_UNSET if not present.
|
| UtcTimingElement | utcTiming |
Deprecated.
The UtcTimingElement, or null if not present.
|
Constructors | Constructor | Description |
| --- | --- |
| DashManifest(long availabilityStartTimeMs, long durationMs, long minBufferTimeMs, boolean dynamic, long minUpdatePeriodMs, long timeShiftBufferDepthMs, long suggestedPresentationDelayMs, long publishTimeMs, ProgramInformation programInformation, UtcTimingElement utcTiming, ServiceDescriptionElement serviceDescription, Uri location, List<Period> periods) |
Deprecated.
|
All Methods Instance Methods Concrete Methods Deprecated Methods | Modifier and Type | Method | Description |
| --- | --- | --- |
| DashManifest | copy(List<StreamKey> streamKeys) |
Deprecated.
Returns a copy of the manifest including only the streams specified by the given keys.
|
| Period | getPeriod(int index) |
Deprecated.
|
| int | getPeriodCount() |
Deprecated.
|
| long | getPeriodDurationMs(int index) |
Deprecated.
|
| long | getPeriodDurationUs(int index) |
Deprecated.
|
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
public final long availabilityStartTimeMs
Deprecated.
The availabilityStartTime value in milliseconds since epoch, or C.TIME_UNSET if not present.
-
public final long durationMs
Deprecated.
The duration of the presentation in milliseconds, or C.TIME_UNSET if not applicable.
-
public final long minBufferTimeMs
Deprecated.
The minBufferTime value in milliseconds, or C.TIME_UNSET if not present.
-
public final boolean dynamic
Deprecated.
Whether the manifest has value "dynamic" for the type attribute.
-
public final long minUpdatePeriodMs
Deprecated.
The minimumUpdatePeriod value in milliseconds, or C.TIME_UNSET if not applicable.
-
public final long timeShiftBufferDepthMs
Deprecated.
The timeShiftBufferDepth value in milliseconds, or C.TIME_UNSET if not present.
-
public final long suggestedPresentationDelayMs
Deprecated.
The suggestedPresentationDelay value in milliseconds, or C.TIME_UNSET if not present.
-
public final long publishTimeMs
Deprecated.
The publishTime value in milliseconds since epoch, or C.TIME_UNSET if not present.
-
@Nullable
public final[UtcTimingElement](UtcTimingElement.html "class in com.google.android.exoplayer2.source.dash.manifest")utcTiming
Deprecated.
The UtcTimingElement, or null if not present. Defined in DVB A168:7/2016, Section 4.7.2.
-
@Nullable
public final[ServiceDescriptionElement](ServiceDescriptionElement.html "class in com.google.android.exoplayer2.source.dash.manifest")serviceDescription
Deprecated.
The ServiceDescriptionElement, or null if not present.
-
@Nullable
public final[Uri](https://developer.android.com/reference/android/net/Uri.html "class or interface in android.net")location
Deprecated.
The location of this manifest, or null if not present.
-
@Nullable
public final[ProgramInformation](ProgramInformation.html "class in com.google.android.exoplayer2.source.dash.manifest")programInformation
Deprecated.
The ProgramInformation, or null if not present.
-
public DashManifest(long availabilityStartTimeMs,
long durationMs,
long minBufferTimeMs,
boolean dynamic,
long minUpdatePeriodMs,
long timeShiftBufferDepthMs,
long suggestedPresentationDelayMs,
long publishTimeMs,
@Nullable[ProgramInformation](ProgramInformation.html "class in com.google.android.exoplayer2.source.dash.manifest")programInformation,
@Nullable[UtcTimingElement](UtcTimingElement.html "class in com.google.android.exoplayer2.source.dash.manifest")utcTiming,
@Nullable[ServiceDescriptionElement](ServiceDescriptionElement.html "class in com.google.android.exoplayer2.source.dash.manifest")serviceDescription,
@Nullable[Uri](https://developer.android.com/reference/android/net/Uri.html "class or interface in android.net")location,[List](https://developer.android.com/reference/java/util/List.html "class or interface in java.util")<[Period](Period.html "class in com.google.android.exoplayer2.source.dash.manifest")> periods)
Deprecated.
-
public final int getPeriodCount()
Deprecated.
-
public final[Period](Period.html "class in com.google.android.exoplayer2.source.dash.manifest")getPeriod(int index)
Deprecated.
-
public final long getPeriodDurationMs(int index)
Deprecated.
-
public final long getPeriodDurationUs(int index)
Deprecated.
-
public final[DashManifest](DashManifest.html "class in com.google.android.exoplayer2.source.dash.manifest")copy([List](https://developer.android.com/reference/java/util/List.html "class or interface in java.util")<[StreamKey](../../../offline/StreamKey.html "class in com.google.android.exoplayer2.offline")> streamKeys)
Deprecated.
Description copied from interface: FilterableManifest
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.
Specified by:copy in interface FilterableManifest<DashManifest>Parameters:streamKeys - A non-empty list of stream keys.Returns:The filtered manifest.