TimelineBuilders.Timeline.Builder


public final class TimelineBuilders.Timeline.Builder


Builder for Timeline

Summary

Public constructors

Creates an instance of Builder.

Public methods

@NonNull TimelineBuilders.Timeline.Builder

Adds one item to the entries in a timeline.

@NonNull TimelineBuilders.Timeline

Builds an instance from accumulated values.

Public constructors

Builder

Added in 1.0.0
public Builder()

Creates an instance of Builder.

Public methods

addTimelineEntry

Added in 1.0.0
@RequiresSchemaVersion(major = 1, minor = 0)
public @NonNull TimelineBuilders.Timeline.Builder addTimelineEntry(@NonNull TimelineBuilders.TimelineEntry timelineEntry)

Adds one item to the entries in a timeline.

build

Added in 1.0.0
public @NonNull TimelineBuilders.Timeline build()

Builds an instance from accumulated values.