ScreenPresenter

fun interface ScreenPresenter(source)

Privileged platform boundary that presents one API-owned screen definition.

Implementations execute synchronously on the calling thread. They must reject an invalid platform thread with ScreenOpenThreadException before transferring ScreenDefinition, and must release all transferred state on every terminal failure or close path. Application code must not implement or invoke this SPI.

Functions

Link copied to clipboard
abstract fun present(definition: ScreenDefinition)

Presents definition or fails while preserving its ownership contract.