public interface

LayoutElementProto.ExtensionLayoutElementOrBuilder

 androidx.wear.protolayout.proto.LayoutElementProto.ExtensionLayoutElementOrBuilder

Subclasses:

LayoutElementProto.ExtensionLayoutElement, LayoutElementProto.ExtensionLayoutElement.Builder

Summary

Methods
public java.lang.StringgetExtensionId()

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

public com.google.protobuf.ByteStringgetExtensionIdBytes()

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

public DimensionProto.ExtensionDimensiongetHeight()

 The height of this element.

public com.google.protobuf.ByteStringgetPayload()

 The content of the renderer extension element.

public DimensionProto.ExtensionDimensiongetWidth()

 The width of this element.

public booleanhasHeight()

 The height of this element.

public booleanhasWidth()

 The width of this element.

Methods

public com.google.protobuf.ByteString getPayload()

 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.
 
bytes payload = 1;

Returns:

The payload.

public java.lang.String getExtensionId()

 The ID of the renderer extension that should be used for rendering this
 layout element.
 
string extension_id = 2;

Returns:

The extensionId.

public com.google.protobuf.ByteString getExtensionIdBytes()

 The ID of the renderer extension that should be used for rendering this
 layout element.
 
string extension_id = 2;

Returns:

The bytes for extensionId.

public boolean hasWidth()

 The width of this element.
 
.androidx.wear.protolayout.proto.ExtensionDimension width = 3;

Returns:

Whether the width field is set.

 The width of this element.
 
.androidx.wear.protolayout.proto.ExtensionDimension width = 3;

Returns:

The width.

public boolean hasHeight()

 The height of this element.
 
.androidx.wear.protolayout.proto.ExtensionDimension height = 4;

Returns:

Whether the height field is set.

 The height of this element.
 
.androidx.wear.protolayout.proto.ExtensionDimension height = 4;

Returns:

The height.