RuntimeUiController
class RuntimeUiController(presentation: UiPresentation, inputPolicy: UiInputPolicy = UiInputPolicy.BlockAll, apply: (RuntimeUiControl) -> Unit, close: (UiCloseReason) -> Unit) : UiSession(source)
Execution-owner-confined control state shared by native and remote sessions. Drivers acknowledge completion with applied or rejected; returning from the driver is not an acknowledgement. transaction defers controls until the outer event/lifecycle boundary returns. Driver and cleanup captures are released before terminal cleanup calls user code.
Constructors
Link copied to clipboard
constructor(presentation: UiPresentation, inputPolicy: UiInputPolicy = UiInputPolicy.BlockAll, apply: (RuntimeUiControl) -> Unit, close: (UiCloseReason) -> Unit)
Properties
Functions
Link copied to clipboard
Rejects the current request, retaining the last applied configuration.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Ends this handle for a platform lifecycle reason; repeated termination keeps the first reason.
Link copied to clipboard
Runs an event or host operation, coalescing requests and prioritizing close at its outer boundary.