Package com.castlabs.android.player.models

# Class Timeline.Builder

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

Enclosing class:
  `Timeline`

public static class Timeline.Builder extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Builder()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Timeline.Builder`
  `addPeriod(Timeline.Period period)`
  `Timeline.Builder`
  `addPeriods(Timeline.Period[] periods)`
  `Timeline.Builder`
  `addPeriods(Collection<? extends Timeline.Period> periods)`
  `Timeline.Builder`
  `addWindow(Timeline.Window window)`
  `Timeline`
  `get()`

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

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

- ## Constructor Details

  - ### Builder

    public Builder()

- ## Method Details

  - ### addWindow

    public Timeline.Builder addWindow(Timeline.Window window)

  - ### addPeriod

    public Timeline.Builder addPeriod(Timeline.Period period)

  - ### addPeriods

    public Timeline.Builder addPeriods(Collection<? extends Timeline.Period> periods)

  - ### addPeriods

    public Timeline.Builder addPeriods(Timeline.Period[] periods)

  - ### get

    public Timeline get()