Surface

object Surface

The reserved canonical container component that every surface is implicitly rooted in.

Neither name below is enforced while decoding — a payload may name a Surface component or omit root, and this model will read it. Refusing those is the validator's job, the same way Extensions key rules are.

Properties

Link copied to clipboard
const val COMPONENT: String

The component type name, which a catalog may not define and a message may not create.

Link copied to clipboard
const val ROOT_ID: ComponentId

The id of the component the surface renders as its root.