public interface

TimelineProto.TimelineEntryOrBuilder

 androidx.wear.protolayout.proto.TimelineProto.TimelineEntryOrBuilder

Subclasses:

TimelineProto.TimelineEntry, TimelineProto.TimelineEntry.Builder

Summary

Methods
public LayoutElementProto.LayoutgetLayout()

 The contents of this timeline entry.

public TimelineProto.TimeIntervalgetValidity()

 The validity period for this timeline entry.

public booleanhasLayout()

 The contents of this timeline entry.

public booleanhasValidity()

 The validity period for this timeline entry.

Methods

public boolean hasValidity()

 The validity period for this timeline entry.
 
.androidx.wear.protolayout.proto.TimeInterval validity = 1;

Returns:

Whether the validity field is set.

public TimelineProto.TimeInterval getValidity()

 The validity period for this timeline entry.
 
.androidx.wear.protolayout.proto.TimeInterval validity = 1;

Returns:

The validity.

public boolean hasLayout()

 The contents of this timeline entry.
 
.androidx.wear.protolayout.proto.Layout layout = 2;

Returns:

Whether the layout field is set.

public LayoutElementProto.Layout getLayout()

 The contents of this timeline entry.
 
.androidx.wear.protolayout.proto.Layout layout = 2;

Returns:

The layout.