TimelineBuilders.TimelineEntry


@RequiresSchemaVersion(major = 1, minor = 0)
class TimelineBuilders.TimelineEntry


One piece of renderable content along with the time that it is valid for.

Summary

Nested types

Builder for TimelineEntry

Public functions

java-static TimelineBuilders.TimelineEntry

Returns the TimelineEntry object containing the given layout element.

LayoutElementBuilders.Layout?

Gets the contents of this timeline entry.

TimelineBuilders.TimeInterval?

Gets the validity period for this timeline entry.

String

Public functions

fromLayoutElement

Added in 1.0.0
@RequiresSchemaVersion(major = 1, minor = 0)
java-static fun fromLayoutElement(layoutElement: LayoutElementBuilders.LayoutElement): TimelineBuilders.TimelineEntry

Returns the TimelineEntry object containing the given layout element.

getLayout

Added in 1.0.0
fun getLayout(): LayoutElementBuilders.Layout?

Gets the contents of this timeline entry.

getValidity

Added in 1.0.0
fun getValidity(): TimelineBuilders.TimeInterval?

Gets the validity period for this timeline entry.

toString

fun toString(): String