open

Deprecated

Use UiDefinition.open() and retain its UiSession.

Presents definition through the runtime installed for the current platform.

The operation has the same synchronous ownership, threading, and failure contract as ScreenDefinition.open.

Parameters

definition

available one-shot definition retained by the caller until a runtime transfers it.

Throws

when no platform runtime is installed.

when the runtime rejects the calling thread before transfer.

when definition was already transferred or closed.

when the runtime fails during presentation.