Package com.castlabs.android.player.models

# Class EventStream.Builder

java.lang.Object
com.castlabs.android.player.models.EventStream.Builder

Enclosing class:
  EventStream

public static class EventStream.Builder extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Builder(String schemeIdUri, String value)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `EventStream.Builder`
  `addEvents(EventMessage[] events)`
  `EventStream.Builder`
  `addEvents(Collection<? extends EventMessage> events)`
  `EventStream.Builder`
  `addPresentationTimesUs(Long[] presentationTimes)`
  `EventStream.Builder`
  `addPresentationTimesUs(Collection<Long> presentationTimes)`
  `EventStream`
  `get()`
  `EventStream.Builder`
  `timescale(long timescale)`

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### Builder

    public Builder(@NonNull String schemeIdUri, @NonNull String value)

- ## Method Details

  - ### timescale

    public EventStream.Builder timescale(long timescale)

  - ### addPresentationTimesUs

    public EventStream.Builder addPresentationTimesUs(Collection<Long> presentationTimes)

  - ### addPresentationTimesUs

    public EventStream.Builder addPresentationTimesUs(Long[] presentationTimes)

  - ### addEvents

    public EventStream.Builder addEvents(Collection<? extends EventMessage> events)

  - ### addEvents

    public EventStream.Builder addEvents(EventMessage[] events)

  - ### get

    public EventStream get()