ScreenTileSchema
@Serializable
Constructors
Link copied to clipboard
constructor(id: String, tiles: SerializableImmutableList<TileSchema>, events: SerializableImmutableList<EventSchema>?, style: StyleSchema = StyleSchema.default(), searchableTerms: SerializableImmutableList<String>? = null, visibility: TileSchema.Visibility = TileSchema.Visibility.VISIBLE, navigationDrawerTiles: SerializableImmutableList<TileSchema>?, state: ScreenTileSchema.State, stackableOverlays: SerializableImmutableMap<String, ScreenTileSchema.StackableOverlay> = persistentMapOf())
Properties
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "navigationDrawerTiles")
Link copied to clipboard
@SerialName(value = "searchableTerms")
Link copied to clipboard
@SerialName(value = "stackableOverlays")
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
inline fun <T : ScreenTilesBroadcastData> TileSchema.observeScreenTileBroadcastChannel(filterByTileId: Boolean = true, crossinline action: suspend (value: T) -> Unit)
Subscribes this tile to its screen's own broadcast channel (reached via LocalScreenTilesBroadcastChannel), running action for every emitted ScreenTilesBroadcastData of type T — the composable-side counterpart of EventRunningScope.broadcastData, and the mechanism a tile's own renderer uses to react to a screen-scoped command addressed to it (scroll commands, overlay open/close, etc.).