TimelineBuilders.TimelineEntry

public final class TimelineBuilders.TimelineEntry


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

Summary

Public methods

static @NonNull TimelineBuilders.TimelineEntry.Builder

Returns a new Builder.

@Nullable LayoutElementBuilders.Layout

Gets the contents of this timeline entry.

@Nullable TimelineBuilders.TimeInterval

Gets the validity period for this timeline entry.

Public methods

builder

@NonNull
public static TimelineBuilders.TimelineEntry.Builder builder()

Returns a new Builder.

getLayout

@Nullable
@NonNull
public LayoutElementBuilders.Layout getLayout()

Gets the contents of this timeline entry. Intended for testing purposes only.

getValidity

@Nullable
@NonNull
public TimelineBuilders.TimeInterval getValidity()

Gets the validity period for this timeline entry. Intended for testing purposes only.