Package com.castlabs.android.player.models

## Class Timeline.Window

- java.lang.Object
- - com.castlabs.android.player.models.Timeline.Window

- Enclosing class:
    Timeline

      public static class Timeline.Window
      extends Object

  A Window.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---
    `static class` | `Timeline.Window.Builder` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `long` | `getDurationUs()` |
    `long` | `getPositionInFirstPeriodUs()` |
    `boolean` | `isDynamic()` |

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

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

- - ### Method Detail

    - #### getDurationUs

          public long getDurationUs()

      Returns:
        the Window duration in microseconds

    - #### isDynamic

          public boolean isDynamic()

      Returns:
        whether this is a dynamic (live) Window or not

    - #### getPositionInFirstPeriodUs

          public long getPositionInFirstPeriodUs()

      Returns:
        the position of the Window relative to its first Period in microseconds