@UnstableApi
class EventStream


A DASH in-MPD EventStream element, as defined by ISO/IEC 23009-1, 2nd edition, section 5.10.

Summary

Public constructors

EventStream(
    schemeIdUri: String!,
    value: String!,
    timescale: Long,
    presentationTimesUs: LongArray!,
    events: Array<EventMessage!>!
)

Public functions

String!
id()

A constructed id of this EventStream.

Public properties

Array<EventMessage!>!

EventMessages in the event stream.

LongArray<Long>!

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

String!

The scheme URI.

Long

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

String!

The value of the event stream.

Public constructors

EventStream

EventStream(
    schemeIdUri: String!,
    value: String!,
    timescale: Long,
    presentationTimesUs: LongArray!,
    events: Array<EventMessage!>!
)

Public functions

id

fun id(): String!

A constructed id of this EventStream. Equal to schemeIdUri + "/" + value.

Public properties

events

val eventsArray<EventMessage!>!

EventMessages in the event stream.

presentationTimesUs

val presentationTimesUsLongArray<Long>!

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

schemeIdUri

val schemeIdUriString!

The scheme URI.

timescale

val timescaleLong

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

value

val valueString!

The value of the event stream. Use empty string if not defined in manifest.