TileSchema

Base contract for all tile schemas. Every tile that participates in the SDUI rendering pipeline must implement this interface.

Base fields shared by all tiles:

  • id — unique identifier within the screen, used for keying and UpdateTiles targeting.

  • events — event list attached to this tile; may be null when no events are wired.

  • style — controls size, margin, padding, background, border, clip, and window insets.

  • visibilityVISIBLE, INVISIBLE (occupies space but not drawn), or GONE (removed from layout).

  • searchableTerms — optional list of strings used by parent container tiles (e.g. ColumnTileSchema, LazyColumnTileSchema) to filter this tile when their filterChildrenByTerm is set. When null, the tile is always shown regardless of the active filter term.

Inheritors

Types

Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard
abstract val id: String
Link copied to clipboard
Link copied to clipboard
abstract val style: StyleSchema
Link copied to clipboard

Functions

Link copied to clipboard
open fun isGone(): Boolean
Link copied to clipboard
open fun isVisible(): Boolean