docs/doc/reference/com/google/android/exoplayer2/source/dash/manifest/EventStream.html
Package com.google.android.exoplayer2.source.dash.manifest
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public final classEventStreamextends[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")
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.
A DASH in-MPD EventStream element, as defined by ISO/IEC 23009-1, 2nd edition, section 5.10.
Fields | Modifier and Type | Field | Description |
| --- | --- | --- |
| EventMessage[] | events |
Deprecated.
EventMessages in the event stream.
|
| long[] | presentationTimesUs |
Deprecated.
Presentation time of the events in microsecond, sorted in ascending order.
|
| String | schemeIdUri |
Deprecated.
The scheme URI.
|
| long | timescale |
Deprecated.
The timescale in units per seconds, as defined in the manifest.
|
| String | value |
Deprecated.
The value of the event stream. |
Constructors | Constructor | Description |
| --- | --- |
| EventStream(String schemeIdUri, String value, long timescale, long[] presentationTimesUs, EventMessage[] events) |
Deprecated.
|
All Methods Instance Methods Concrete Methods Deprecated Methods | Modifier and Type | Method | Description |
| --- | --- | --- |
| String | id() |
Deprecated.
A constructed id of this EventStream.
|
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
public final[EventMessage](../../../metadata/emsg/EventMessage.html "class in com.google.android.exoplayer2.metadata.emsg")[] events
Deprecated.
EventMessages in the event stream.
-
public final long[] presentationTimesUs
Deprecated.
Presentation time of the events in microsecond, sorted in ascending order.
-
public final[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")schemeIdUri
Deprecated.
The scheme URI.
-
public final[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")value
Deprecated.
The value of the event stream. Use empty string if not defined in manifest.
-
public final long timescale
Deprecated.
The timescale in units per seconds, as defined in the manifest.
-
public EventStream([String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")schemeIdUri,[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")value,
long timescale,
long[] presentationTimesUs,[EventMessage](../../../metadata/emsg/EventMessage.html "class in com.google.android.exoplayer2.metadata.emsg")[] events)
Deprecated.
-
public[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")id()
Deprecated.
A constructed id of this EventStream. Equal to schemeIdUri + "/" + value.