public final class

LayoutElementProto.Span.Builder

extends <any>

implements LayoutElementProto.SpanOrBuilder

 java.lang.Object

↳<any>

↳androidx.wear.protolayout.proto.LayoutElementProto.Span.Builder

Overview

 A single Span. Each Span forms part of a larger Spannable widget. At the
 moment, the only widgets which can be added to Spannable containers are
 SpanText and SpanImage elements.
 
Protobuf type androidx.wear.protolayout.proto.Span

Summary

Methods
public LayoutElementProto.Span.BuilderclearImage()

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

public LayoutElementProto.Span.BuilderclearInner()

public LayoutElementProto.Span.BuilderclearText()

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

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;

public LayoutElementProto.Span.BuildermergeImage(LayoutElementProto.SpanImage value)

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

public LayoutElementProto.Span.BuildermergeText(LayoutElementProto.SpanText value)

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

public LayoutElementProto.Span.BuildersetImage(LayoutElementProto.SpanImage.Builder builderForValue)

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

public LayoutElementProto.Span.BuildersetImage(LayoutElementProto.SpanImage value)

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

public LayoutElementProto.Span.BuildersetText(LayoutElementProto.SpanText.Builder builderForValue)

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

public LayoutElementProto.Span.BuildersetText(LayoutElementProto.SpanText value)

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

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Methods

public LayoutElementProto.Span.InnerCase getInnerCase()

public boolean hasText()

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

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

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

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

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

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

public boolean hasImage()

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

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

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

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

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

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