TimelineBuilders.Timeline.Builder


class TimelineBuilders.Timeline.Builder


Builder for Timeline

Summary

Public constructors

Creates an instance of Builder.

Public functions

TimelineBuilders.Timeline.Builder
@RequiresSchemaVersion(major = 1, minor = 0)
addTimelineEntry(timelineEntry: TimelineBuilders.TimelineEntry)

Adds one item to the entries in a timeline.

TimelineBuilders.Timeline

Builds an instance from accumulated values.

Public constructors

Builder

Added in 1.0.0
Builder()

Creates an instance of Builder.

Public functions

addTimelineEntry

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

Adds one item to the entries in a timeline.

build

Added in 1.0.0
fun build(): TimelineBuilders.Timeline

Builds an instance from accumulated values.