ui · thing ·

yuiAuthoredInteractionRuntime

A yui authored interaction runtime record carrying authored, tree, input, focus, commands, and related state.

cpumethodsource-examplethinguiyeho

Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.

external thing yuiAuthoredInteractionRuntime

Status: source-declared

Fields and methods (34)
yuiAuthoredRuntime authored
Stores authored as yuiAuthoredRuntime.
yuiTree tree
Stores tree as yuiTree.
yuiInputState input
Stores input as yuiInputState.
yuiFocusModel focus
Stores focus as yuiFocusModel.
yuiCommandMap commands
Stores commands as yuiCommandMap.
list of yuiAuthoredControlBehavior behaviors
Stores behaviors as list of yuiAuthoredControlBehavior.
list of yuiArrangedLayout layout
Stores layout as list of yuiArrangedLayout.
text surfaceId
Stores surface id as text.
text pressOwnerId
Stores press owner id as text.
text pressPointerId
Stores press pointer id as text.
int revision
Stores revision as int.
int layoutRevision
Stores layout revision as int.
int layoutNoOpCount
Stores layout no op count as int.
text diagnostic
Stores diagnostic as text.
yuiAuthoredInteractionRuntime(yuiAuthoredRuntime authored, text surfaceId, int dragThreshold)
Yui authored interaction runtime.
Reject(text operation, text reason) returns bool
Reject. Complete example
Accept()
Accept. Complete example
ResolveCatalogBehavior(text kind) returns yuiAuthoredControlBehavior
Resolve catalog behavior. Complete example
BehaviorIndex(text kind) returns int
Behavior index. Complete example
BuildBehaviors()
Build behaviors. Complete example
Behavior(text kind) returns yuiAuthoredControlBehavior
Behavior. Complete example
StateBindingIndex(text nodeId, text propertyName) returns int
State binding index. Complete example
ResolveActionCommand(yuiAuthoredAction action, text preferredEvent) returns yuiAuthoredAction
Resolve action command. Complete example
ApplyBoundValue(yuiAuthoredAction action, text propertyName, text encoded) returns yuiAuthoredAction
Apply bound value. Complete example
SyncTreeFromAuthored() returns bool
Sync tree from authored. Complete example
LayoutEquivalent(list of yuiArrangedLayout placements) returns bool
Layout equivalent. Complete example
SyncLayout(list of yuiArrangedLayout placements) returns bool
Sync layout. Complete example
SetState(text stateId, yuiAuthoredValue value) returns bool
Set state. Complete example
AddShortcut(yuiCommandBinding binding) returns bool
Add shortcut. Complete example
CommitValue(text nodeId, text propertyName, text encoded, text eventProperty, text source) returns yuiAuthoredAction
Commit value. Complete example
Activate(text nodeId, text payload, text source) returns yuiAuthoredAction
Activate. Complete example
HandlePointer(text eventKind, text pointerId, int x, int y) returns yuiAuthoredInteractionResult
Handle pointer. Complete example
HandleKey(text key, text chord) returns yuiAuthoredInteractionResult
Handle key. Complete example
RenderReport() returns text
Render report. Complete example

Use yuiAuthoredInteractionRuntime

A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.

cpu · source-example · type checked

using ui

// Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.
yuiAuthoredInteractionRuntime sample = yuiAuthoredInteractionRuntime(yuiAuthoredRuntime("id"), "surface Id", 1)
Console.Log(Text.From(sample.surfaceId))
project.mech
manifestVersion = "2"
package = "api.example.ui__yuiauthoredinteractionruntime"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"

[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"

yuiAuthoredInteractionRuntime.Reject

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

cpu · method · source-example · type checked

using ui

// Reject.
yuiAuthoredInteractionRuntime instance = yuiAuthoredInteractionRuntime(yuiAuthoredRuntime("id"), "surface Id", 1)
text argument_operation = "argument operation"
text argument_reason = "argument reason"
bool result = instance.Reject(argument_operation, argument_reason)
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.ui__yuiauthoredinteractionruntime"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"

[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"

yuiAuthoredInteractionRuntime.Accept

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

cpu · method · source-example · type checked

using ui

// Accept.
yuiAuthoredInteractionRuntime instance = yuiAuthoredInteractionRuntime(yuiAuthoredRuntime("id"), "surface Id", 1)
instance.Accept()
Console.Log("Accept completed")
project.mech
manifestVersion = "2"
package = "api.example.ui__yuiauthoredinteractionruntime"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"

[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"

yuiAuthoredInteractionRuntime.ResolveCatalogBehavior

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

cpu · method · source-example · type checked

using ui

// Resolve catalog behavior.
yuiAuthoredInteractionRuntime instance = yuiAuthoredInteractionRuntime(yuiAuthoredRuntime("id"), "surface Id", 1)
text argument_kind = "argument kind"
yuiAuthoredControlBehavior result = instance.ResolveCatalogBehavior(argument_kind)
Console.Log("Inspect result in your debugger")
project.mech
manifestVersion = "2"
package = "api.example.ui__yuiauthoredinteractionruntime"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"

[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"

yuiAuthoredInteractionRuntime.BehaviorIndex

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

cpu · method · source-example · type checked

using ui

// Behavior index.
yuiAuthoredInteractionRuntime instance = yuiAuthoredInteractionRuntime(yuiAuthoredRuntime("id"), "surface Id", 1)
text argument_kind = "argument kind"
int result = instance.BehaviorIndex(argument_kind)
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.ui__yuiauthoredinteractionruntime"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"

[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"

yuiAuthoredInteractionRuntime.BuildBehaviors

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

cpu · method · source-example · type checked

using ui

// Build behaviors.
yuiAuthoredInteractionRuntime instance = yuiAuthoredInteractionRuntime(yuiAuthoredRuntime("id"), "surface Id", 1)
instance.BuildBehaviors()
Console.Log("BuildBehaviors completed")
project.mech
manifestVersion = "2"
package = "api.example.ui__yuiauthoredinteractionruntime"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"

[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"

yuiAuthoredInteractionRuntime.Behavior

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

cpu · method · source-example · type checked

using ui

// Behavior.
yuiAuthoredInteractionRuntime instance = yuiAuthoredInteractionRuntime(yuiAuthoredRuntime("id"), "surface Id", 1)
text argument_kind = "argument kind"
yuiAuthoredControlBehavior result = instance.Behavior(argument_kind)
Console.Log("Inspect result in your debugger")
project.mech
manifestVersion = "2"
package = "api.example.ui__yuiauthoredinteractionruntime"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"

[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"

yuiAuthoredInteractionRuntime.StateBindingIndex

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

cpu · method · source-example · type checked

using ui

// State binding index.
yuiAuthoredInteractionRuntime instance = yuiAuthoredInteractionRuntime(yuiAuthoredRuntime("id"), "surface Id", 1)
text argument_nodeId = "argument node Id"
text argument_propertyName = "argument property Name"
int result = instance.StateBindingIndex(argument_nodeId, argument_propertyName)
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.ui__yuiauthoredinteractionruntime"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"

[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"

yuiAuthoredInteractionRuntime.ResolveActionCommand

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

cpu · method · source-example · type checked

using ui

// Resolve action command.
yuiAuthoredInteractionRuntime instance = yuiAuthoredInteractionRuntime(yuiAuthoredRuntime("id"), "surface Id", 1)
yuiAuthoredAction argument_action = yuiAuthoredAction("node Id", "semantic Action", "example")
text argument_preferredEvent = "argument preferred Event"
yuiAuthoredAction result = instance.ResolveActionCommand(argument_action, argument_preferredEvent)
Console.Log("Inspect result in your debugger")
project.mech
manifestVersion = "2"
package = "api.example.ui__yuiauthoredinteractionruntime"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"

[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"

yuiAuthoredInteractionRuntime.ApplyBoundValue

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

cpu · method · source-example · type checked

using ui

// Apply bound value.
yuiAuthoredInteractionRuntime instance = yuiAuthoredInteractionRuntime(yuiAuthoredRuntime("id"), "surface Id", 1)
yuiAuthoredAction argument_action = yuiAuthoredAction("node Id", "semantic Action", "example")
text argument_propertyName = "argument property Name"
text argument_encoded = "argument encoded"
yuiAuthoredAction result = instance.ApplyBoundValue(argument_action, argument_propertyName, argument_encoded)
Console.Log("Inspect result in your debugger")
project.mech
manifestVersion = "2"
package = "api.example.ui__yuiauthoredinteractionruntime"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"

[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"

yuiAuthoredInteractionRuntime.SyncTreeFromAuthored

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

cpu · method · source-example · type checked

using ui

// Sync tree from authored.
yuiAuthoredInteractionRuntime instance = yuiAuthoredInteractionRuntime(yuiAuthoredRuntime("id"), "surface Id", 1)
bool result = instance.SyncTreeFromAuthored()
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.ui__yuiauthoredinteractionruntime"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"

[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"

yuiAuthoredInteractionRuntime.LayoutEquivalent

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

cpu · method · source-example · type checked

using ui

// Layout equivalent.
yuiAuthoredInteractionRuntime instance = yuiAuthoredInteractionRuntime(yuiAuthoredRuntime("id"), "surface Id", 1)
list of yuiArrangedLayout argument_placements = []
bool result = instance.LayoutEquivalent(argument_placements)
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.ui__yuiauthoredinteractionruntime"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"

[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"

yuiAuthoredInteractionRuntime.SyncLayout

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

cpu · method · source-example · type checked

using ui

// Sync layout.
yuiAuthoredInteractionRuntime instance = yuiAuthoredInteractionRuntime(yuiAuthoredRuntime("id"), "surface Id", 1)
list of yuiArrangedLayout argument_placements = []
bool result = instance.SyncLayout(argument_placements)
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.ui__yuiauthoredinteractionruntime"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"

[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"

yuiAuthoredInteractionRuntime.SetState

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

cpu · method · source-example · type checked

using ui

// Set state.
yuiAuthoredInteractionRuntime instance = yuiAuthoredInteractionRuntime(yuiAuthoredRuntime("id"), "surface Id", 1)
text argument_stateId = "argument state Id"
yuiAuthoredValue argument_value = yuiAuthoredValue("kind", "type Name", "encoded")
bool result = instance.SetState(argument_stateId, argument_value)
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.ui__yuiauthoredinteractionruntime"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"

[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"

yuiAuthoredInteractionRuntime.AddShortcut

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

cpu · method · source-example · type checked

using ui

// Add shortcut.
yuiAuthoredInteractionRuntime instance = yuiAuthoredInteractionRuntime(yuiAuthoredRuntime("id"), "surface Id", 1)
yuiCommandBinding argument_binding = yuiCommandBinding("id", "scope Root Id", "chord", "command", "example")
bool result = instance.AddShortcut(argument_binding)
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.ui__yuiauthoredinteractionruntime"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"

[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"

yuiAuthoredInteractionRuntime.CommitValue

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

cpu · method · source-example · type checked

using ui

// Commit value.
yuiAuthoredInteractionRuntime instance = yuiAuthoredInteractionRuntime(yuiAuthoredRuntime("id"), "surface Id", 1)
text argument_nodeId = "argument node Id"
text argument_propertyName = "argument property Name"
text argument_encoded = "argument encoded"
text argument_eventProperty = "argument event Property"
text argument_source = "argument source"
yuiAuthoredAction result = instance.CommitValue(argument_nodeId, argument_propertyName, argument_encoded, argument_eventProperty, argument_source)
Console.Log("Inspect result in your debugger")
project.mech
manifestVersion = "2"
package = "api.example.ui__yuiauthoredinteractionruntime"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"

[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"

yuiAuthoredInteractionRuntime.Activate

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

cpu · method · source-example · type checked

using ui

// Activate.
yuiAuthoredInteractionRuntime instance = yuiAuthoredInteractionRuntime(yuiAuthoredRuntime("id"), "surface Id", 1)
text argument_nodeId = "argument node Id"
text argument_payload = "argument payload"
text argument_source = "argument source"
yuiAuthoredAction result = instance.Activate(argument_nodeId, argument_payload, argument_source)
Console.Log("Inspect result in your debugger")
project.mech
manifestVersion = "2"
package = "api.example.ui__yuiauthoredinteractionruntime"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"

[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"

yuiAuthoredInteractionRuntime.HandlePointer

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

cpu · method · source-example · type checked

using ui

// Handle pointer.
yuiAuthoredInteractionRuntime instance = yuiAuthoredInteractionRuntime(yuiAuthoredRuntime("id"), "surface Id", 1)
text argument_eventKind = "argument event Kind"
text argument_pointerId = "argument pointer Id"
int argument_x = 1
int argument_y = 1
yuiAuthoredInteractionResult result = instance.HandlePointer(argument_eventKind, argument_pointerId, argument_x, argument_y)
Console.Log("Inspect result in your debugger")
project.mech
manifestVersion = "2"
package = "api.example.ui__yuiauthoredinteractionruntime"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"

[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"

yuiAuthoredInteractionRuntime.HandleKey

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

cpu · method · source-example · type checked

using ui

// Handle key.
yuiAuthoredInteractionRuntime instance = yuiAuthoredInteractionRuntime(yuiAuthoredRuntime("id"), "surface Id", 1)
text argument_key = "argument key"
text argument_chord = "argument chord"
yuiAuthoredInteractionResult result = instance.HandleKey(argument_key, argument_chord)
Console.Log("Inspect result in your debugger")
project.mech
manifestVersion = "2"
package = "api.example.ui__yuiauthoredinteractionruntime"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"

[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"

yuiAuthoredInteractionRuntime.RenderReport

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

cpu · method · source-example · type checked

using ui

// Render report.
yuiAuthoredInteractionRuntime instance = yuiAuthoredInteractionRuntime(yuiAuthoredRuntime("id"), "surface Id", 1)
text result = instance.RenderReport()
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.ui__yuiauthoredinteractionruntime"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"

[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"

[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"

[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"
Notes and source

Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup.

yeho/packages/ui/authoring-interaction-10-runtime.yh:76