TimelineBuilders.TimelineEntry

public static final class TimelineBuilders.TimelineEntry
extends Object

java.lang.Object
   ↳ androidx.wear.tiles.TimelineBuilders.TimelineEntry


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

Summary

Nested classes

class TimelineBuilders.TimelineEntry.Builder

Builder for TimelineBuilders.TimelineEntry  

Public methods

static TimelineBuilders.TimelineEntry.Builder builder()

Returns a new TimelineBuilders.TimelineEntry.Builder.

LayoutElementBuilders.Layout getLayout()

Gets the contents of this timeline entry.

TimelineBuilders.TimeInterval getValidity()

Gets the validity period for this timeline entry.

Inherited methods

Public methods

getLayout

public LayoutElementBuilders.Layout getLayout ()

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

Returns
LayoutElementBuilders.Layout

getValidity

public TimelineBuilders.TimeInterval getValidity ()

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

Returns
TimelineBuilders.TimeInterval