TimelineBuilders.Timeline.Builder

public static final class TimelineBuilders.Timeline.Builder
extends Object

java.lang.Object
   ↳ androidx.wear.tiles.TimelineBuilders.Timeline.Builder


Builder for TimelineBuilders.Timeline

Summary

Public methods

TimelineBuilders.Timeline.Builder addTimelineEntry(TimelineBuilders.TimelineEntry.Builder timelineEntryBuilder)

Adds one item to the entries in a timeline.

TimelineBuilders.Timeline.Builder addTimelineEntry(TimelineBuilders.TimelineEntry timelineEntry)

Adds one item to the entries in a timeline.

TimelineBuilders.Timeline build()

Builds an instance from accumulated values.

Inherited methods

Public methods

addTimelineEntry

public TimelineBuilders.Timeline.Builder addTimelineEntry (TimelineBuilders.TimelineEntry.Builder timelineEntryBuilder)

Adds one item to the entries in a timeline.

Parameters
timelineEntryBuilder TimelineBuilders.TimelineEntry.Builder

Returns
TimelineBuilders.Timeline.Builder

addTimelineEntry

public TimelineBuilders.Timeline.Builder addTimelineEntry (TimelineBuilders.TimelineEntry timelineEntry)

Adds one item to the entries in a timeline.

Parameters
timelineEntry TimelineBuilders.TimelineEntry

Returns
TimelineBuilders.Timeline.Builder

build

public TimelineBuilders.Timeline build ()

Builds an instance from accumulated values.

Returns
TimelineBuilders.Timeline