Class Timeline.Window
- java.lang.Object
-
- com.castlabs.android.player.models.Timeline.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()
-
-
-
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
-
-