public interface

LayoutElementProto.SpanOrBuilder

 androidx.wear.protolayout.proto.LayoutElementProto.SpanOrBuilder

Subclasses:

LayoutElementProto.Span, LayoutElementProto.Span.Builder

Summary

Methods
public LayoutElementProto.SpanImagegetImage()

.androidx.wear.protolayout.proto.SpanImage image = 2;

public LayoutElementProto.Span.InnerCasegetInnerCase()

public LayoutElementProto.SpanTextgetText()

.androidx.wear.protolayout.proto.SpanText text = 1;

public booleanhasImage()

.androidx.wear.protolayout.proto.SpanImage image = 2;

public booleanhasText()

.androidx.wear.protolayout.proto.SpanText text = 1;

Methods

public boolean hasText()

.androidx.wear.protolayout.proto.SpanText text = 1;

Returns:

Whether the text field is set.

.androidx.wear.protolayout.proto.SpanText text = 1;

Returns:

The text.

public boolean hasImage()

.androidx.wear.protolayout.proto.SpanImage image = 2;

Returns:

Whether the image field is set.

.androidx.wear.protolayout.proto.SpanImage image = 2;

Returns:

The image.

public LayoutElementProto.Span.InnerCase getInnerCase()