public final class

LayoutElementBuilders.ExtensionLayoutElement.Builder

extends java.lang.Object

implements LayoutElementBuilders.LayoutElement.Builder

 java.lang.Object

↳androidx.wear.protolayout.LayoutElementBuilders.ExtensionLayoutElement.Builder

Overview

Builder for LayoutElementBuilders.ExtensionLayoutElement.

Summary

Constructors
publicBuilder()

Creates an instance of LayoutElementBuilders.FontWeightProp.Builder.

Methods
public LayoutElementBuilders.ExtensionLayoutElementbuild()

Builds an instance from accumulated values.

public LayoutElementBuilders.ExtensionLayoutElement.BuildersetExtensionId(java.lang.String extensionId)

Sets the ID of the renderer extension that should be used for rendering this layout element.

public LayoutElementBuilders.ExtensionLayoutElement.BuildersetHeight(DimensionBuilders.ExtensionDimension height)

Sets the height of this element.

public LayoutElementBuilders.ExtensionLayoutElement.BuildersetPayload(byte[] payload[])

Sets the content of the renderer extension element.

public LayoutElementBuilders.ExtensionLayoutElement.BuildersetWidth(DimensionBuilders.ExtensionDimension width)

Sets the width of this element.

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

Constructors

public Builder()

Creates an instance of LayoutElementBuilders.FontWeightProp.Builder.

Methods

public LayoutElementBuilders.ExtensionLayoutElement.Builder setPayload(byte[] payload[])

Sets the content of the renderer extension element. This can be any data; it is expected that the renderer extension knows how to parse this field.

public LayoutElementBuilders.ExtensionLayoutElement.Builder setExtensionId(java.lang.String extensionId)

Sets the ID of the renderer extension that should be used for rendering this layout element.

Sets the width of this element.

Sets the height of this element.

Builds an instance from accumulated values.