LayoutElementBuilders.SpanImage.Builder

public final class LayoutElementBuilders.SpanImage.Builder implements LayoutElementBuilders.Span.Builder


Builder for SpanImage.

Summary

Public constructors

Public methods

@Override @NonNull LayoutElementBuilders.SpanImage

Builds an instance with values accumulated in this Builder.

@NonNull LayoutElementBuilders.SpanImage.Builder

Sets alignment of this image within the line height of the surrounding .

@NonNull LayoutElementBuilders.SpanImage.Builder

Sets alignment of this image within the line height of the surrounding .

@NonNull LayoutElementBuilders.SpanImage.Builder

Sets the height of this image.

@NonNull LayoutElementBuilders.SpanImage.Builder

Sets androidx.wear.tiles.ModifiersBuilders.Modifiers for this element.

@NonNull LayoutElementBuilders.SpanImage.Builder

Sets the resource_id of the image to render.

@NonNull LayoutElementBuilders.SpanImage.Builder

Sets the resource_id of the image to render.

@NonNull LayoutElementBuilders.SpanImage.Builder

Sets the width of this image.

Public constructors

Builder

public Builder()

Public methods

build

@Override
public @NonNull LayoutElementBuilders.SpanImage build()

Builds an instance with values accumulated in this Builder.