public final class

LayoutElementBuilders.SpanImage.Builder

extends java.lang.Object

implements LayoutElementBuilders.Span.Builder

 java.lang.Object

↳androidx.wear.tiles.builders.LayoutElementBuilders.SpanImage.Builder

Overview

Builder for LayoutElementBuilders.SpanImage.

Summary

Methods
public LayoutElementBuilders.SpanImagebuild()

public LayoutElementBuilders.SpanImage.BuildersetHeight(DimensionBuilders.DpProp.Builder heightBuilder)

Sets the height of this image.

public LayoutElementBuilders.SpanImage.BuildersetHeight(DimensionBuilders.DpProp height)

Sets the height of this image.

public LayoutElementBuilders.SpanImage.BuildersetModifiers(ModifiersBuilders.SpanModifiers.Builder modifiersBuilder)

Sets ModifiersBuilders.Modifiers for this element.

public LayoutElementBuilders.SpanImage.BuildersetModifiers(ModifiersBuilders.SpanModifiers modifiers)

Sets ModifiersBuilders.Modifiers for this element.

public LayoutElementBuilders.SpanImage.BuildersetResourceId(java.lang.String resourceId)

Sets the resource_id of the image to render.

public LayoutElementBuilders.SpanImage.BuildersetWidth(DimensionBuilders.DpProp.Builder widthBuilder)

Sets the width of this image.

public LayoutElementBuilders.SpanImage.BuildersetWidth(DimensionBuilders.DpProp width)

Sets the width of this image.

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

Methods

public LayoutElementBuilders.SpanImage.Builder setResourceId(java.lang.String resourceId)

Sets the resource_id of the image to render. This must exist in the supplied resource bundle.

Sets the width of this image. If not defined, the image will not be rendered.

Sets the width of this image. If not defined, the image will not be rendered.

Sets the height of this image. If not defined, the image will not be rendered.

Sets the height of this image. If not defined, the image will not be rendered.

Sets ModifiersBuilders.Modifiers for this element.

Sets ModifiersBuilders.Modifiers for this element.