Class Timeline.Builder
java.lang.Object
com.castlabs.android.player.models.Timeline.Builder
- Enclosing class:
Timeline
Builder for
Timelines.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddWindow(Timeline.Window window) Adds aTimeline.Windowto the Timeline.get()Builds theTimeline.
-
Constructor Details
-
Builder
public Builder()Creates a new Builder.
-
-
Method Details
-
addWindow
Adds aTimeline.Windowto the Timeline.- Parameters:
window- theTimeline.Windowto add- Returns:
- this Builder
-
get
Builds theTimeline.- Returns:
- the
Timeline
-