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
Builder for `Timeline`s.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Builder()`
  Creates a new Builder.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Timeline.Builder`
  `addWindow(Timeline.Window window)`
  Adds a `Timeline.Window` to the Timeline.
  `Timeline`
  `get()`
  Builds the `Timeline`.

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

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

- ## Constructor Details

  - ### Builder

    public Builder()
    Creates a new Builder.

- ## Method Details

  - ### addWindow

    public Timeline.Builder addWindow(Timeline.Window window)
    Adds a `Timeline.Window` to the Timeline.
    Parameters:
      `window` - the `Timeline.Window` to add
    Returns:
      this Builder

  - ### get

    public Timeline get()
    Builds the `Timeline`.
    Returns:
      the `Timeline`