LayoutElementBuilders.Layout


@RequiresSchemaVersion(major = 1, minor = 0)
class LayoutElementBuilders.Layout


A complete layout.

Summary

Nested types

Builder for Layout

Public functions

java-static LayoutElementBuilders.Layout?

Converts from byte array representation.

java-static LayoutElementBuilders.Layout

Creates a Layout object containing the given layout element.

LayoutElementBuilders.LayoutElement?

Gets the root element in the layout.

ByteArray<Byte>

Converts to byte array representation.

String

Public functions

fromByteArray

Added in 1.0.0
@ProtoLayoutExperimental
java-static fun fromByteArray(byteArray: ByteArray): LayoutElementBuilders.Layout?

Converts from byte array representation.

fromLayoutElement

Added in 1.0.0
java-static fun fromLayoutElement(layoutElement: LayoutElementBuilders.LayoutElement): LayoutElementBuilders.Layout

Creates a Layout object containing the given layout element.

getRoot

Added in 1.0.0
fun getRoot(): LayoutElementBuilders.LayoutElement?

Gets the root element in the layout.

toByteArray

Added in 1.0.0
@ProtoLayoutExperimental
fun toByteArray(): ByteArray<Byte>

Converts to byte array representation.

toString

fun toString(): String