public final class

LayoutElementBuilders.Layout

extends java.lang.Object

 java.lang.Object

↳androidx.wear.tiles.LayoutElementBuilders.Layout

Overview

A complete layout.

Summary

Methods
public static LayoutElementBuilders.LayoutfromByteArray(byte[] byteArray[])

Converts from byte array representation.

public static LayoutElementBuilders.LayoutfromLayoutElement(LayoutElementBuilders.LayoutElement layoutElement)

Creates a LayoutElementBuilders.Layout object containing the given layout element.

public static LayoutElementBuilders.LayoutfromProto(LayoutElementProto.Layout proto)

public LayoutElementBuilders.LayoutElementgetRoot()

Gets the root element in the layout.

public byte[]toByteArray()

Converts to byte array representation.

public LayoutElementProto.LayouttoProto()

Returns the internal proto instance.

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

Methods

Gets the root element in the layout. Intended for testing purposes only.

public static LayoutElementBuilders.Layout fromLayoutElement(LayoutElementBuilders.LayoutElement layoutElement)

Creates a LayoutElementBuilders.Layout object containing the given layout element.

public LayoutElementProto.Layout toProto()

Returns the internal proto instance.

public byte[] toByteArray()

Converts to byte array representation.

public static LayoutElementBuilders.Layout fromByteArray(byte[] byteArray[])

Converts from byte array representation.