# TimelineBuilders

Artifact: [androidx.wear.protolayout:protolayout](https://developer.android.com/jetpack/androidx/releases/wear-protolayout) [View Source](https://cs.android.com/search?q=file:androidx/wear/protolayout/TimelineBuilders.java+class:androidx.wear.protolayout.TimelineBuilders) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.0.0)

*** ** * ** ***


```
public final class TimelineBuilders
```

<br />

*** ** * ** ***

Builders for a timeline with entries representing content that should be displayed within given time intervals.

## Summary

| ### Nested types |
|---|
| `@https://developer.android.com/reference/androidx/wear/protolayout/expression/RequiresSchemaVersion(major = 1, minor = 0) public final class https://developer.android.com/reference/androidx/wear/protolayout/TimelineBuilders.TimeInterval` A time interval, typically used to describe the validity period of a `https://developer.android.com/reference/androidx/wear/protolayout/TimelineBuilders.TimelineEntry`. |
| `public final class https://developer.android.com/reference/androidx/wear/protolayout/TimelineBuilders.TimeInterval.Builder` Builder for `https://developer.android.com/reference/androidx/wear/protolayout/TimelineBuilders.TimeInterval` |
| `@https://developer.android.com/reference/androidx/wear/protolayout/expression/RequiresSchemaVersion(major = 1, minor = 0) public final class https://developer.android.com/reference/androidx/wear/protolayout/TimelineBuilders.Timeline` A collection of `https://developer.android.com/reference/androidx/wear/protolayout/TimelineBuilders.TimelineEntry` items. |
| `public final class https://developer.android.com/reference/androidx/wear/protolayout/TimelineBuilders.Timeline.Builder` Builder for `https://developer.android.com/reference/androidx/wear/protolayout/TimelineBuilders.Timeline` |
| `@https://developer.android.com/reference/androidx/wear/protolayout/expression/RequiresSchemaVersion(major = 1, minor = 0) public final class https://developer.android.com/reference/androidx/wear/protolayout/TimelineBuilders.TimelineEntry` One piece of renderable content along with the time that it is valid for. |
| `public final class https://developer.android.com/reference/androidx/wear/protolayout/TimelineBuilders.TimelineEntry.Builder` Builder for `https://developer.android.com/reference/androidx/wear/protolayout/TimelineBuilders.TimelineEntry` |