{"id":"ui--yuiAuthoredInteractionRuntime","name":"yuiAuthoredInteractionRuntime","owner":"yeho","package":"ui","kind":"thing","signature":"external thing yuiAuthoredInteractionRuntime","description":"A yui authored interaction runtime record carrying authored, tree, input, focus, commands, and related state.","context":"Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.","parameters":[],"returns":"void","members":[{"name":"authored","kind":"field","type":"yuiAuthoredRuntime","description":"Stores authored as yuiAuthoredRuntime.","signature":"yuiAuthoredRuntime authored","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"tree","kind":"field","type":"yuiTree","description":"Stores tree as yuiTree.","signature":"yuiTree tree","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"input","kind":"field","type":"yuiInputState","description":"Stores input as yuiInputState.","signature":"yuiInputState input","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"focus","kind":"field","type":"yuiFocusModel","description":"Stores focus as yuiFocusModel.","signature":"yuiFocusModel focus","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"commands","kind":"field","type":"yuiCommandMap","description":"Stores commands as yuiCommandMap.","signature":"yuiCommandMap commands","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"behaviors","kind":"field","type":"list of yuiAuthoredControlBehavior","description":"Stores behaviors as list of yuiAuthoredControlBehavior.","signature":"list of yuiAuthoredControlBehavior behaviors","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"layout","kind":"field","type":"list of yuiArrangedLayout","description":"Stores layout as list of yuiArrangedLayout.","signature":"list of yuiArrangedLayout layout","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"surfaceId","kind":"field","type":"text","description":"Stores surface id as text.","signature":"text surfaceId","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"pressOwnerId","kind":"field","type":"text","description":"Stores press owner id as text.","signature":"text pressOwnerId","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"pressPointerId","kind":"field","type":"text","description":"Stores press pointer id as text.","signature":"text pressPointerId","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"revision","kind":"field","type":"int","description":"Stores revision as int.","signature":"int revision","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"layoutRevision","kind":"field","type":"int","description":"Stores layout revision as int.","signature":"int layoutRevision","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"layoutNoOpCount","kind":"field","type":"int","description":"Stores layout no op count as int.","signature":"int layoutNoOpCount","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"diagnostic","kind":"field","type":"text","description":"Stores diagnostic as text.","signature":"text diagnostic","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"yuiAuthoredInteractionRuntime","kind":"constructor","parameters":[{"name":"authored","type":"yuiAuthoredRuntime","description":"Authored."},{"name":"surfaceId","type":"text","description":"Surface id."},{"name":"dragThreshold","type":"int","description":"Drag threshold."}],"returns":"void","signature":"yuiAuthoredInteractionRuntime(yuiAuthoredRuntime authored, text surfaceId, int dragThreshold)","description":"Yui authored interaction runtime.","tags":["thing","constructor","ui"],"updated":"2026-09-09"},{"name":"Reject","kind":"method","parameters":[{"name":"operation","type":"text","description":"Operation."},{"name":"reason","type":"text","description":"Reason."}],"returns":"bool","signature":"Reject(text operation, text reason) returns bool","description":"Reject.","tags":["thing","method","ui"],"exampleId":"method-Reject-15","updated":"2026-09-09"},{"name":"Accept","kind":"method","parameters":[],"returns":"void","signature":"Accept()","description":"Accept.","tags":["thing","method","ui"],"exampleId":"method-Accept-16","updated":"2026-09-09"},{"name":"ResolveCatalogBehavior","kind":"method","parameters":[{"name":"kind","type":"text","description":"Kind."}],"returns":"yuiAuthoredControlBehavior","signature":"ResolveCatalogBehavior(text kind) returns yuiAuthoredControlBehavior","description":"Resolve catalog behavior.","tags":["thing","method","ui"],"exampleId":"method-ResolveCatalogBehavior-17","updated":"2026-09-09"},{"name":"BehaviorIndex","kind":"method","parameters":[{"name":"kind","type":"text","description":"Kind."}],"returns":"int","signature":"BehaviorIndex(text kind) returns int","description":"Behavior index.","tags":["thing","method","ui"],"exampleId":"method-BehaviorIndex-18","updated":"2026-09-09"},{"name":"BuildBehaviors","kind":"method","parameters":[],"returns":"void","signature":"BuildBehaviors()","description":"Build behaviors.","tags":["thing","method","ui"],"exampleId":"method-BuildBehaviors-19","updated":"2026-09-09"},{"name":"Behavior","kind":"method","parameters":[{"name":"kind","type":"text","description":"Kind."}],"returns":"yuiAuthoredControlBehavior","signature":"Behavior(text kind) returns yuiAuthoredControlBehavior","description":"Behavior.","tags":["thing","method","ui"],"exampleId":"method-Behavior-20","updated":"2026-09-09"},{"name":"StateBindingIndex","kind":"method","parameters":[{"name":"nodeId","type":"text","description":"Node id."},{"name":"propertyName","type":"text","description":"Property name."}],"returns":"int","signature":"StateBindingIndex(text nodeId, text propertyName) returns int","description":"State binding index.","tags":["thing","method","ui"],"exampleId":"method-StateBindingIndex-21","updated":"2026-09-09"},{"name":"ResolveActionCommand","kind":"method","parameters":[{"name":"action","type":"yuiAuthoredAction","description":"Action."},{"name":"preferredEvent","type":"text","description":"Preferred event."}],"returns":"yuiAuthoredAction","signature":"ResolveActionCommand(yuiAuthoredAction action, text preferredEvent) returns yuiAuthoredAction","description":"Resolve action command.","tags":["thing","method","ui"],"exampleId":"method-ResolveActionCommand-22","updated":"2026-09-09"},{"name":"ApplyBoundValue","kind":"method","parameters":[{"name":"action","type":"yuiAuthoredAction","description":"Action."},{"name":"propertyName","type":"text","description":"Property name."},{"name":"encoded","type":"text","description":"Encoded."}],"returns":"yuiAuthoredAction","signature":"ApplyBoundValue(yuiAuthoredAction action, text propertyName, text encoded) returns yuiAuthoredAction","description":"Apply bound value.","tags":["thing","method","ui"],"exampleId":"method-ApplyBoundValue-23","updated":"2026-09-09"},{"name":"SyncTreeFromAuthored","kind":"method","parameters":[],"returns":"bool","signature":"SyncTreeFromAuthored() returns bool","description":"Sync tree from authored.","tags":["thing","method","ui"],"exampleId":"method-SyncTreeFromAuthored-24","updated":"2026-09-09"},{"name":"LayoutEquivalent","kind":"method","parameters":[{"name":"placements","type":"list of yuiArrangedLayout","description":"Placements."}],"returns":"bool","signature":"LayoutEquivalent(list of yuiArrangedLayout placements) returns bool","description":"Layout equivalent.","tags":["thing","method","ui"],"exampleId":"method-LayoutEquivalent-25","updated":"2026-09-09"},{"name":"SyncLayout","kind":"method","parameters":[{"name":"placements","type":"list of yuiArrangedLayout","description":"Placements."}],"returns":"bool","signature":"SyncLayout(list of yuiArrangedLayout placements) returns bool","description":"Sync layout.","tags":["thing","method","ui"],"exampleId":"method-SyncLayout-26","updated":"2026-09-09"},{"name":"SetState","kind":"method","parameters":[{"name":"stateId","type":"text","description":"State id."},{"name":"value","type":"yuiAuthoredValue","description":"Value."}],"returns":"bool","signature":"SetState(text stateId, yuiAuthoredValue value) returns bool","description":"Set state.","tags":["thing","method","ui"],"exampleId":"method-SetState-27","updated":"2026-09-09"},{"name":"AddShortcut","kind":"method","parameters":[{"name":"binding","type":"yuiCommandBinding","description":"Binding."}],"returns":"bool","signature":"AddShortcut(yuiCommandBinding binding) returns bool","description":"Add shortcut.","tags":["thing","method","ui"],"exampleId":"method-AddShortcut-28","updated":"2026-09-09"},{"name":"CommitValue","kind":"method","parameters":[{"name":"nodeId","type":"text","description":"Node id."},{"name":"propertyName","type":"text","description":"Property name."},{"name":"encoded","type":"text","description":"Encoded."},{"name":"eventProperty","type":"text","description":"Event property."},{"name":"source","type":"text","description":"Source."}],"returns":"yuiAuthoredAction","signature":"CommitValue(text nodeId, text propertyName, text encoded, text eventProperty, text source) returns yuiAuthoredAction","description":"Commit value.","tags":["thing","method","ui"],"exampleId":"method-CommitValue-29","updated":"2026-09-09"},{"name":"Activate","kind":"method","parameters":[{"name":"nodeId","type":"text","description":"Node id."},{"name":"payload","type":"text","description":"Payload."},{"name":"source","type":"text","description":"Source."}],"returns":"yuiAuthoredAction","signature":"Activate(text nodeId, text payload, text source) returns yuiAuthoredAction","description":"Activate.","tags":["thing","method","ui"],"exampleId":"method-Activate-30","updated":"2026-09-09"},{"name":"HandlePointer","kind":"method","parameters":[{"name":"eventKind","type":"text","description":"Event kind."},{"name":"pointerId","type":"text","description":"Pointer id."},{"name":"x","type":"int","description":"X."},{"name":"y","type":"int","description":"Y."}],"returns":"yuiAuthoredInteractionResult","signature":"HandlePointer(text eventKind, text pointerId, int x, int y) returns yuiAuthoredInteractionResult","description":"Handle pointer.","tags":["thing","method","ui"],"exampleId":"method-HandlePointer-31","updated":"2026-09-09"},{"name":"HandleKey","kind":"method","parameters":[{"name":"key","type":"text","description":"Key."},{"name":"chord","type":"text","description":"Chord."}],"returns":"yuiAuthoredInteractionResult","signature":"HandleKey(text key, text chord) returns yuiAuthoredInteractionResult","description":"Handle key.","tags":["thing","method","ui"],"exampleId":"method-HandleKey-32","updated":"2026-09-09"},{"name":"RenderReport","kind":"method","parameters":[],"returns":"text","signature":"RenderReport() returns text","description":"Render report.","tags":["thing","method","ui"],"exampleId":"method-RenderReport-33","updated":"2026-09-09"}],"tags":["cpu","method","source-example","thing","ui","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/ui/authoring-interaction-10-runtime.yh","line":76,"sha256":"0b47a3252ca4c479a6641810833ab25dd202a8f4ad941901417e0c1c0634c060"},"status":"source-declared","notes":["Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup."],"examples":[{"id":"usage","title":"Use yuiAuthoredInteractionRuntime","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using ui\n\n// Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.\nyuiAuthoredInteractionRuntime sample = yuiAuthoredInteractionRuntime(yuiAuthoredRuntime(\"id\"), \"surface Id\", 1)\nConsole.Log(Text.From(sample.surfaceId))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiauthoredinteractionruntime\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n\n[[dependencies]]\npackage = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","source-example"],"verification":"type checked","run":"cpu-oracle","sha256":"608d758cff916b2dfc3cae6c75bbe380ae0d90a12ce6344315c4f19773f15254","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Reject-15","title":"yuiAuthoredInteractionRuntime.Reject","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Reject.\nyuiAuthoredInteractionRuntime instance = yuiAuthoredInteractionRuntime(yuiAuthoredRuntime(\"id\"), \"surface Id\", 1)\ntext argument_operation = \"argument operation\"\ntext argument_reason = \"argument reason\"\nbool result = instance.Reject(argument_operation, argument_reason)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiauthoredinteractionruntime\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n\n[[dependencies]]\npackage = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"351c78f1a03ee9f183d7b5ee163eaecc600f24f61f644126051bc7a3c20a53b7","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Accept-16","title":"yuiAuthoredInteractionRuntime.Accept","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Accept.\nyuiAuthoredInteractionRuntime instance = yuiAuthoredInteractionRuntime(yuiAuthoredRuntime(\"id\"), \"surface Id\", 1)\ninstance.Accept()\nConsole.Log(\"Accept completed\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiauthoredinteractionruntime\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n\n[[dependencies]]\npackage = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"c58cb80664348a04d2d657d6038d7e57a088c283860f60da8944f7877c530b6d","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-ResolveCatalogBehavior-17","title":"yuiAuthoredInteractionRuntime.ResolveCatalogBehavior","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Resolve catalog behavior.\nyuiAuthoredInteractionRuntime instance = yuiAuthoredInteractionRuntime(yuiAuthoredRuntime(\"id\"), \"surface Id\", 1)\ntext argument_kind = \"argument kind\"\nyuiAuthoredControlBehavior result = instance.ResolveCatalogBehavior(argument_kind)\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiauthoredinteractionruntime\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n\n[[dependencies]]\npackage = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"8ed34b8eac92d43ab0aa8d2dd5de153247b3b57416bee0de0bb3a20f44c4e3d4","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-BehaviorIndex-18","title":"yuiAuthoredInteractionRuntime.BehaviorIndex","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Behavior index.\nyuiAuthoredInteractionRuntime instance = yuiAuthoredInteractionRuntime(yuiAuthoredRuntime(\"id\"), \"surface Id\", 1)\ntext argument_kind = \"argument kind\"\nint result = instance.BehaviorIndex(argument_kind)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiauthoredinteractionruntime\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n\n[[dependencies]]\npackage = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"22477e3efc7cb3017d02723ed6a1cacc37d54f4eae6238a0b840c4b9573920aa","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-BuildBehaviors-19","title":"yuiAuthoredInteractionRuntime.BuildBehaviors","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Build behaviors.\nyuiAuthoredInteractionRuntime instance = yuiAuthoredInteractionRuntime(yuiAuthoredRuntime(\"id\"), \"surface Id\", 1)\ninstance.BuildBehaviors()\nConsole.Log(\"BuildBehaviors completed\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiauthoredinteractionruntime\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n\n[[dependencies]]\npackage = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"bbe3780db8c1968cae6463b06f30accbde4998edf813d0db2900d576358149ed","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Behavior-20","title":"yuiAuthoredInteractionRuntime.Behavior","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Behavior.\nyuiAuthoredInteractionRuntime instance = yuiAuthoredInteractionRuntime(yuiAuthoredRuntime(\"id\"), \"surface Id\", 1)\ntext argument_kind = \"argument kind\"\nyuiAuthoredControlBehavior result = instance.Behavior(argument_kind)\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiauthoredinteractionruntime\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n\n[[dependencies]]\npackage = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"caf5c8afb5a1eeafe05ec31ddf96991a2fb03259f9e14a3705e036855e868818","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-StateBindingIndex-21","title":"yuiAuthoredInteractionRuntime.StateBindingIndex","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// State binding index.\nyuiAuthoredInteractionRuntime instance = yuiAuthoredInteractionRuntime(yuiAuthoredRuntime(\"id\"), \"surface Id\", 1)\ntext argument_nodeId = \"argument node Id\"\ntext argument_propertyName = \"argument property Name\"\nint result = instance.StateBindingIndex(argument_nodeId, argument_propertyName)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiauthoredinteractionruntime\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n\n[[dependencies]]\npackage = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"588ffe89edf99b6d1898a9870cf93bb2754ccd10356ae28b99c9aa8b3282faef","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-ResolveActionCommand-22","title":"yuiAuthoredInteractionRuntime.ResolveActionCommand","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Resolve action command.\nyuiAuthoredInteractionRuntime instance = yuiAuthoredInteractionRuntime(yuiAuthoredRuntime(\"id\"), \"surface Id\", 1)\nyuiAuthoredAction argument_action = yuiAuthoredAction(\"node Id\", \"semantic Action\", \"example\")\ntext argument_preferredEvent = \"argument preferred Event\"\nyuiAuthoredAction result = instance.ResolveActionCommand(argument_action, argument_preferredEvent)\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiauthoredinteractionruntime\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n\n[[dependencies]]\npackage = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"7f480cfa7b4b8153ea6bbf27417264091bd4aef6bd3599114eba79b8ca323ac9","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-ApplyBoundValue-23","title":"yuiAuthoredInteractionRuntime.ApplyBoundValue","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Apply bound value.\nyuiAuthoredInteractionRuntime instance = yuiAuthoredInteractionRuntime(yuiAuthoredRuntime(\"id\"), \"surface Id\", 1)\nyuiAuthoredAction argument_action = yuiAuthoredAction(\"node Id\", \"semantic Action\", \"example\")\ntext argument_propertyName = \"argument property Name\"\ntext argument_encoded = \"argument encoded\"\nyuiAuthoredAction result = instance.ApplyBoundValue(argument_action, argument_propertyName, argument_encoded)\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiauthoredinteractionruntime\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n\n[[dependencies]]\npackage = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"3cc2edb23f55599b6fda04d3228b2c9d4841cc20a928641b0f086ca3866e2e88","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-SyncTreeFromAuthored-24","title":"yuiAuthoredInteractionRuntime.SyncTreeFromAuthored","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Sync tree from authored.\nyuiAuthoredInteractionRuntime instance = yuiAuthoredInteractionRuntime(yuiAuthoredRuntime(\"id\"), \"surface Id\", 1)\nbool result = instance.SyncTreeFromAuthored()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiauthoredinteractionruntime\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n\n[[dependencies]]\npackage = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"f8c891bb4e0c281deb8e1889d9882987705d5dff273894b0335292090b4e0f5c","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-LayoutEquivalent-25","title":"yuiAuthoredInteractionRuntime.LayoutEquivalent","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Layout equivalent.\nyuiAuthoredInteractionRuntime instance = yuiAuthoredInteractionRuntime(yuiAuthoredRuntime(\"id\"), \"surface Id\", 1)\nlist of yuiArrangedLayout argument_placements = []\nbool result = instance.LayoutEquivalent(argument_placements)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiauthoredinteractionruntime\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n\n[[dependencies]]\npackage = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"d4bd28ddefcca6ccd9e6bc66babf29440f518afc881cf72b93bd523fc29f6c38","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-SyncLayout-26","title":"yuiAuthoredInteractionRuntime.SyncLayout","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Sync layout.\nyuiAuthoredInteractionRuntime instance = yuiAuthoredInteractionRuntime(yuiAuthoredRuntime(\"id\"), \"surface Id\", 1)\nlist of yuiArrangedLayout argument_placements = []\nbool result = instance.SyncLayout(argument_placements)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiauthoredinteractionruntime\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n\n[[dependencies]]\npackage = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"c3293109e9ab26a6ef908811039c6285310cabd2ba47038966261a488f90e58f","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-SetState-27","title":"yuiAuthoredInteractionRuntime.SetState","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Set state.\nyuiAuthoredInteractionRuntime instance = yuiAuthoredInteractionRuntime(yuiAuthoredRuntime(\"id\"), \"surface Id\", 1)\ntext argument_stateId = \"argument state Id\"\nyuiAuthoredValue argument_value = yuiAuthoredValue(\"kind\", \"type Name\", \"encoded\")\nbool result = instance.SetState(argument_stateId, argument_value)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiauthoredinteractionruntime\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n\n[[dependencies]]\npackage = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"4fd4866098d745774c40c6d4699b3be1f52db798ad01deebdb06c8cd44ad02f2","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-AddShortcut-28","title":"yuiAuthoredInteractionRuntime.AddShortcut","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Add shortcut.\nyuiAuthoredInteractionRuntime instance = yuiAuthoredInteractionRuntime(yuiAuthoredRuntime(\"id\"), \"surface Id\", 1)\nyuiCommandBinding argument_binding = yuiCommandBinding(\"id\", \"scope Root Id\", \"chord\", \"command\", \"example\")\nbool result = instance.AddShortcut(argument_binding)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiauthoredinteractionruntime\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n\n[[dependencies]]\npackage = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"c1dc00bb34aa643b9aec843aa0f8910bbc79658fdeb8ec571a24e56911f640b5","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-CommitValue-29","title":"yuiAuthoredInteractionRuntime.CommitValue","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Commit value.\nyuiAuthoredInteractionRuntime instance = yuiAuthoredInteractionRuntime(yuiAuthoredRuntime(\"id\"), \"surface Id\", 1)\ntext argument_nodeId = \"argument node Id\"\ntext argument_propertyName = \"argument property Name\"\ntext argument_encoded = \"argument encoded\"\ntext argument_eventProperty = \"argument event Property\"\ntext argument_source = \"argument source\"\nyuiAuthoredAction result = instance.CommitValue(argument_nodeId, argument_propertyName, argument_encoded, argument_eventProperty, argument_source)\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiauthoredinteractionruntime\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n\n[[dependencies]]\npackage = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"33ee6b6af4916d46763a87587ca0090872b19ef85949cd8bbf0f1c762c926bbf","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Activate-30","title":"yuiAuthoredInteractionRuntime.Activate","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Activate.\nyuiAuthoredInteractionRuntime instance = yuiAuthoredInteractionRuntime(yuiAuthoredRuntime(\"id\"), \"surface Id\", 1)\ntext argument_nodeId = \"argument node Id\"\ntext argument_payload = \"argument payload\"\ntext argument_source = \"argument source\"\nyuiAuthoredAction result = instance.Activate(argument_nodeId, argument_payload, argument_source)\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiauthoredinteractionruntime\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n\n[[dependencies]]\npackage = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"63fd345665162e1d01e8e28c515361bb7b4ada7e99a7baae571f7e6d2cc735d6","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-HandlePointer-31","title":"yuiAuthoredInteractionRuntime.HandlePointer","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Handle pointer.\nyuiAuthoredInteractionRuntime instance = yuiAuthoredInteractionRuntime(yuiAuthoredRuntime(\"id\"), \"surface Id\", 1)\ntext argument_eventKind = \"argument event Kind\"\ntext argument_pointerId = \"argument pointer Id\"\nint argument_x = 1\nint argument_y = 1\nyuiAuthoredInteractionResult result = instance.HandlePointer(argument_eventKind, argument_pointerId, argument_x, argument_y)\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiauthoredinteractionruntime\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n\n[[dependencies]]\npackage = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"74ca77e73c2f371bfce497fea6d428207907e6df7cac866457c02e7cca14e345","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-HandleKey-32","title":"yuiAuthoredInteractionRuntime.HandleKey","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Handle key.\nyuiAuthoredInteractionRuntime instance = yuiAuthoredInteractionRuntime(yuiAuthoredRuntime(\"id\"), \"surface Id\", 1)\ntext argument_key = \"argument key\"\ntext argument_chord = \"argument chord\"\nyuiAuthoredInteractionResult result = instance.HandleKey(argument_key, argument_chord)\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiauthoredinteractionruntime\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n\n[[dependencies]]\npackage = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"1ad68eb6782617a04f4619f5ee619e1cea0403867c956cdfe9e1e773a588c1b9","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-RenderReport-33","title":"yuiAuthoredInteractionRuntime.RenderReport","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Render report.\nyuiAuthoredInteractionRuntime instance = yuiAuthoredInteractionRuntime(yuiAuthoredRuntime(\"id\"), \"surface Id\", 1)\ntext result = instance.RenderReport()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiauthoredinteractionruntime\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n\n[[dependencies]]\npackage = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"0bdb2d3ebdb57828512de57cafce7656a25dec27ac70eb511d86bd0f0639eaaf","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["authored","tree","input","focus","commands","behaviors","layout","surfaceId","pressOwnerId","pressPointerId","revision","layoutRevision","layoutNoOpCount","diagnostic","yuiAuthoredInteractionRuntime","Reject","Accept","ResolveCatalogBehavior","BehaviorIndex","BuildBehaviors","Behavior","StateBindingIndex","ResolveActionCommand","ApplyBoundValue","SyncTreeFromAuthored","LayoutEquivalent","SyncLayout","SetState","AddShortcut","CommitValue","Activate","HandlePointer","HandleKey","RenderReport"],"url":"https://demonhunterlabs.com/academy/api?item=ui--yuiAuthoredInteractionRuntime","json":"https://demonhunterlabs.com/reference/items/ui--yuiAuthoredInteractionRuntime.json","markdown":"https://demonhunterlabs.com/reference/text/ui--yuiAuthoredInteractionRuntime.md"}
