public final class

LayoutElementProto.SpanImage.Builder

extends <any>

implements LayoutElementProto.SpanImageOrBuilder

 java.lang.Object

↳<any>

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

Overview

 An image which can be added to a Span.
 
Protobuf type androidx.wear.protolayout.proto.SpanImage

Summary

Methods
public LayoutElementProto.SpanImage.BuilderclearAlignment()

 Alignment of this image within the line height of the surrounding
 Spannable.

public LayoutElementProto.SpanImage.BuilderclearHeight()

 The height of this image.

public LayoutElementProto.SpanImage.BuilderclearModifiers()

 Modifiers for this element.

public LayoutElementProto.SpanImage.BuilderclearResourceId()

 The resource_id of the image to render.

public LayoutElementProto.SpanImage.BuilderclearWidth()

 The width of this image.

public LayoutElementProto.SpanVerticalAlignmentPropgetAlignment()

 Alignment of this image within the line height of the surrounding
 Spannable.

public DimensionProto.DpPropgetHeight()

 The height of this image.

public ModifiersProto.SpanModifiersgetModifiers()

 Modifiers for this element.

public TypesProto.StringPropgetResourceId()

 The resource_id of the image to render.

public DimensionProto.DpPropgetWidth()

 The width of this image.

public booleanhasAlignment()

 Alignment of this image within the line height of the surrounding
 Spannable.

public booleanhasHeight()

 The height of this image.

public booleanhasModifiers()

 Modifiers for this element.

public booleanhasResourceId()

 The resource_id of the image to render.

public booleanhasWidth()

 The width of this image.

public LayoutElementProto.SpanImage.BuildermergeAlignment(LayoutElementProto.SpanVerticalAlignmentProp value)

 Alignment of this image within the line height of the surrounding
 Spannable.

public LayoutElementProto.SpanImage.BuildermergeHeight(DimensionProto.DpProp value)

 The height of this image.

public LayoutElementProto.SpanImage.BuildermergeModifiers(ModifiersProto.SpanModifiers value)

 Modifiers for this element.

public LayoutElementProto.SpanImage.BuildermergeResourceId(TypesProto.StringProp value)

 The resource_id of the image to render.

public LayoutElementProto.SpanImage.BuildermergeWidth(DimensionProto.DpProp value)

 The width of this image.

public LayoutElementProto.SpanImage.BuildersetAlignment(LayoutElementProto.SpanVerticalAlignmentProp.Builder builderForValue)

 Alignment of this image within the line height of the surrounding
 Spannable.

public LayoutElementProto.SpanImage.BuildersetAlignment(LayoutElementProto.SpanVerticalAlignmentProp value)

 Alignment of this image within the line height of the surrounding
 Spannable.

public LayoutElementProto.SpanImage.BuildersetHeight(DimensionProto.DpProp.Builder builderForValue)

 The height of this image.

public LayoutElementProto.SpanImage.BuildersetHeight(DimensionProto.DpProp value)

 The height of this image.

public LayoutElementProto.SpanImage.BuildersetModifiers(ModifiersProto.SpanModifiers.Builder builderForValue)

 Modifiers for this element.

public LayoutElementProto.SpanImage.BuildersetModifiers(ModifiersProto.SpanModifiers value)

 Modifiers for this element.

public LayoutElementProto.SpanImage.BuildersetResourceId(TypesProto.StringProp.Builder builderForValue)

 The resource_id of the image to render.

public LayoutElementProto.SpanImage.BuildersetResourceId(TypesProto.StringProp value)

 The resource_id of the image to render.

public LayoutElementProto.SpanImage.BuildersetWidth(DimensionProto.DpProp.Builder builderForValue)

 The width of this image.

public LayoutElementProto.SpanImage.BuildersetWidth(DimensionProto.DpProp value)

 The width of this image.

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

Methods

public boolean hasResourceId()

 The resource_id of the image to render. This must exist in the supplied
 resource bundle.
 
.androidx.wear.protolayout.proto.StringProp resource_id = 1;

public TypesProto.StringProp getResourceId()

 The resource_id of the image to render. This must exist in the supplied
 resource bundle.
 
.androidx.wear.protolayout.proto.StringProp resource_id = 1;

 The resource_id of the image to render. This must exist in the supplied
 resource bundle.
 
.androidx.wear.protolayout.proto.StringProp resource_id = 1;

 The resource_id of the image to render. This must exist in the supplied
 resource bundle.
 
.androidx.wear.protolayout.proto.StringProp resource_id = 1;

 The resource_id of the image to render. This must exist in the supplied
 resource bundle.
 
.androidx.wear.protolayout.proto.StringProp resource_id = 1;

public LayoutElementProto.SpanImage.Builder clearResourceId()

 The resource_id of the image to render. This must exist in the supplied
 resource bundle.
 
.androidx.wear.protolayout.proto.StringProp resource_id = 1;

public boolean hasWidth()

 The width of this image. If not defined, the image will not be rendered.
 
.androidx.wear.protolayout.proto.DpProp width = 2;

public DimensionProto.DpProp getWidth()

 The width of this image. If not defined, the image will not be rendered.
 
.androidx.wear.protolayout.proto.DpProp width = 2;

 The width of this image. If not defined, the image will not be rendered.
 
.androidx.wear.protolayout.proto.DpProp width = 2;

 The width of this image. If not defined, the image will not be rendered.
 
.androidx.wear.protolayout.proto.DpProp width = 2;

 The width of this image. If not defined, the image will not be rendered.
 
.androidx.wear.protolayout.proto.DpProp width = 2;

 The width of this image. If not defined, the image will not be rendered.
 
.androidx.wear.protolayout.proto.DpProp width = 2;

public boolean hasHeight()

 The height of this image. If not defined, the image will not be rendered.
 
.androidx.wear.protolayout.proto.DpProp height = 3;

public DimensionProto.DpProp getHeight()

 The height of this image. If not defined, the image will not be rendered.
 
.androidx.wear.protolayout.proto.DpProp height = 3;

 The height of this image. If not defined, the image will not be rendered.
 
.androidx.wear.protolayout.proto.DpProp height = 3;

 The height of this image. If not defined, the image will not be rendered.
 
.androidx.wear.protolayout.proto.DpProp height = 3;

 The height of this image. If not defined, the image will not be rendered.
 
.androidx.wear.protolayout.proto.DpProp height = 3;

 The height of this image. If not defined, the image will not be rendered.
 
.androidx.wear.protolayout.proto.DpProp height = 3;

public boolean hasModifiers()

 Modifiers for this element.
 
.androidx.wear.protolayout.proto.SpanModifiers modifiers = 4;

public ModifiersProto.SpanModifiers getModifiers()

 Modifiers for this element.
 
.androidx.wear.protolayout.proto.SpanModifiers modifiers = 4;

 Modifiers for this element.
 
.androidx.wear.protolayout.proto.SpanModifiers modifiers = 4;

 Modifiers for this element.
 
.androidx.wear.protolayout.proto.SpanModifiers modifiers = 4;

 Modifiers for this element.
 
.androidx.wear.protolayout.proto.SpanModifiers modifiers = 4;

public LayoutElementProto.SpanImage.Builder clearModifiers()

 Modifiers for this element.
 
.androidx.wear.protolayout.proto.SpanModifiers modifiers = 4;

public boolean hasAlignment()

 Alignment of this image within the line height of the surrounding
 Spannable. If undefined, defaults to SPAN_VERTICAL_ALIGN_BOTTOM.
 
.androidx.wear.protolayout.proto.SpanVerticalAlignmentProp alignment = 5;

 Alignment of this image within the line height of the surrounding
 Spannable. If undefined, defaults to SPAN_VERTICAL_ALIGN_BOTTOM.
 
.androidx.wear.protolayout.proto.SpanVerticalAlignmentProp alignment = 5;

 Alignment of this image within the line height of the surrounding
 Spannable. If undefined, defaults to SPAN_VERTICAL_ALIGN_BOTTOM.
 
.androidx.wear.protolayout.proto.SpanVerticalAlignmentProp alignment = 5;

 Alignment of this image within the line height of the surrounding
 Spannable. If undefined, defaults to SPAN_VERTICAL_ALIGN_BOTTOM.
 
.androidx.wear.protolayout.proto.SpanVerticalAlignmentProp alignment = 5;

 Alignment of this image within the line height of the surrounding
 Spannable. If undefined, defaults to SPAN_VERTICAL_ALIGN_BOTTOM.
 
.androidx.wear.protolayout.proto.SpanVerticalAlignmentProp alignment = 5;

public LayoutElementProto.SpanImage.Builder clearAlignment()

 Alignment of this image within the line height of the surrounding
 Spannable. If undefined, defaults to SPAN_VERTICAL_ALIGN_BOTTOM.
 
.androidx.wear.protolayout.proto.SpanVerticalAlignmentProp alignment = 5;