{"id":"ui--yuiTextServiceAdapterContract","name":"yuiTextServiceAdapterContract","owner":"yeho","package":"ui","kind":"thing","signature":"external thing yuiTextServiceAdapterContract","description":"A yui text service adapter contract record carrying target, contractVersion, capabilities, platformTypesInUi.","context":"Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.","parameters":[],"returns":"void","members":[{"name":"target","kind":"field","type":"text","description":"Stores target as text.","signature":"text target","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"contractVersion","kind":"field","type":"text","description":"Stores contract version as text.","signature":"text contractVersion","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"capabilities","kind":"field","type":"text","description":"Stores capabilities as text.","signature":"text capabilities","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"platformTypesInUi","kind":"field","type":"bool","description":"Stores platform types in ui as bool.","signature":"bool platformTypesInUi","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"yuiTextServiceAdapterContract","kind":"constructor","parameters":[{"name":"target","type":"text","description":"Target."},{"name":"contractVersion","type":"text","description":"Contract version."},{"name":"capabilities","type":"text","description":"Capabilities."},{"name":"platformTypesInUi","type":"bool","description":"Platform types in ui."}],"returns":"void","signature":"yuiTextServiceAdapterContract(text target, text contractVersion, text capabilities, bool platformTypesInUi)","description":"Yui text service adapter contract.","tags":["thing","constructor","ui"],"updated":"2026-09-09"},{"name":"Describe","kind":"method","parameters":[],"returns":"text","signature":"Describe() returns text","description":"Describe.","tags":["thing","method","ui"],"exampleId":"method-Describe-5","updated":"2026-09-09"}],"tags":["cpu","method","source-example","thing","ui","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/ui/text-locale.yh","line":169,"sha256":"f94675a021e536a25eeecbefd67a1e88ba3c63fddf46ace8e10a80b7140bff2a"},"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 yuiTextServiceAdapterContract","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.\nyuiTextServiceAdapterContract sample = yuiTextServiceAdapterContract(\"target\", \"contract Version\", \"capabilities\", true)\nConsole.Log(Text.From(sample.target))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuitextserviceadaptercontract\"\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":"57640c8e22a6cefd295c6458b1111a2ecb4e8b1c57a77e395573388ebe8a5987","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Describe-5","title":"yuiTextServiceAdapterContract.Describe","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Describe.\nyuiTextServiceAdapterContract instance = yuiTextServiceAdapterContract(\"target\", \"contract Version\", \"capabilities\", true)\ntext result = instance.Describe()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuitextserviceadaptercontract\"\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":"0bee1a692e684b7c46a14bfdd8d869349031c42c94ded8e75f8e9b001afba38e","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["target","contractVersion","capabilities","platformTypesInUi","yuiTextServiceAdapterContract","Describe"],"url":"https://demonhunterlabs.com/academy/api?item=ui--yuiTextServiceAdapterContract","json":"https://demonhunterlabs.com/reference/items/ui--yuiTextServiceAdapterContract.json","markdown":"https://demonhunterlabs.com/reference/text/ui--yuiTextServiceAdapterContract.md"}
