TimelineBuilders.TimelineEntry.Builder


class TimelineBuilders.TimelineEntry.Builder


Builder for TimelineEntry

Summary

Public constructors

Creates an instance of Builder.

Public functions

TimelineBuilders.TimelineEntry

Builds an instance from accumulated values.

TimelineBuilders.TimelineEntry.Builder
@RequiresSchemaVersion(major = 1, minor = 0)
setLayout(layout: LayoutElementBuilders.Layout)

Sets the contents of this timeline entry.

TimelineBuilders.TimelineEntry.Builder
@RequiresSchemaVersion(major = 1, minor = 0)
setValidity(validity: TimelineBuilders.TimeInterval)

Sets the validity period for this timeline entry.

Public constructors

Builder

Added in 1.0.0
Builder()

Creates an instance of Builder.

Public functions

build

Added in 1.0.0
fun build(): TimelineBuilders.TimelineEntry

Builds an instance from accumulated values.

setLayout

Added in 1.0.0
@RequiresSchemaVersion(major = 1, minor = 0)
fun setLayout(layout: LayoutElementBuilders.Layout): TimelineBuilders.TimelineEntry.Builder

Sets the contents of this timeline entry.

setValidity

Added in 1.0.0
@RequiresSchemaVersion(major = 1, minor = 0)
fun setValidity(validity: TimelineBuilders.TimeInterval): TimelineBuilders.TimelineEntry.Builder

Sets the validity period for this timeline entry.