public interface

LayoutProto.LayoutDefinitionOrBuilder

 androidx.glance.appwidget.proto.LayoutProto.LayoutDefinitionOrBuilder

Subclasses:

LayoutProto.LayoutDefinition, LayoutProto.LayoutDefinition.Builder

Summary

Methods
public LayoutProto.LayoutNodegetLayout()

.androidx.glance.appwidget.proto.LayoutNode layout = 1;

public intgetLayoutIndex()

int32 layout_index = 2;

public booleanhasLayout()

.androidx.glance.appwidget.proto.LayoutNode layout = 1;

Methods

public boolean hasLayout()

.androidx.glance.appwidget.proto.LayoutNode layout = 1;

Returns:

Whether the layout field is set.

public LayoutProto.LayoutNode getLayout()

.androidx.glance.appwidget.proto.LayoutNode layout = 1;

Returns:

The layout.

public int getLayoutIndex()

int32 layout_index = 2;

Returns:

The layoutIndex.