ScreenBuilder

class ScreenBuilder(id: String, events: EventSchemaBuilderScope.() -> Unit = {}, navigationDrawerTiles: TileSchemaBuilderScope.() -> Unit? = null, tiles: TileSchemaBuilderScope.() -> Unit = {}, ttl: LocalDateTime? = null) : GenericBuilder<ScreenResponse>

Compiles a standalone screen's tiles/events/navigationDrawerTiles into a ScreenResponse.

Constructors

Link copied to clipboard
constructor(id: String, events: EventSchemaBuilderScope.() -> Unit = {}, navigationDrawerTiles: TileSchemaBuilderScope.() -> Unit? = null, tiles: TileSchemaBuilderScope.() -> Unit = {}, ttl: LocalDateTime? = null)

Functions

Link copied to clipboard
open override fun build(): ScreenResponse

Produces this builder's concrete schema instance. Called once, by GenericBuilderScope.build, with compositionLocals active.