Back to Exoplayer

EventStream (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/source/dash/manifest/EventStream.html

latest4.4 KB
Original Source

Package com.google.android.exoplayer2.source.dash.manifest

Class EventStream

  • java.lang.Object

    • com.google.android.exoplayer2.source.dash.manifest.EventStream

[@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.

Field Summary

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. |

Constructor Summary

Constructors | Constructor | Description | | --- | --- | | EventStream​(String schemeIdUri, String value, long timescale, long[] presentationTimesUs, EventMessage[] events) | Deprecated. |

Method Summary

All Methods Instance Methods Concrete Methods Deprecated Methods | Modifier and Type | Method | Description | | --- | --- | --- | | String | id() | Deprecated.

A constructed id of this EventStream. |

- 

Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail

- 

events

public final[EventMessage](../../../metadata/emsg/EventMessage.html "class in com.google.android.exoplayer2.metadata.emsg")[] events

Deprecated.

EventMessages in the event stream.

- 

presentationTimesUs

public final long[] presentationTimesUs

Deprecated.

Presentation time of the events in microsecond, sorted in ascending order.

- 

schemeIdUri

public final[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")schemeIdUri

Deprecated.

The scheme URI.

- 

value

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.

- 

timescale

public final long timescale

Deprecated.

The timescale in units per seconds, as defined in the manifest.

Constructor Detail

- 

EventStream

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.

Method Detail

- 

id

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.