{"id":"frontend.yui--yuiHostSurfaceStateV1","name":"yuiHostSurfaceStateV1","owner":"yeho","package":"frontend.yui","kind":"thing","signature":"external thing yuiHostSurfaceStateV1","description":"A yui host surface state v1 record carrying schema, schemaVersion, width, height, generation, and related state.","context":"Turn YUI models into a working frontend and its rendering/input adapters.","parameters":[],"returns":"void","members":[{"name":"schema","kind":"field","type":"text","description":"Stores schema as text.","signature":"text schema","tags":["thing","field","frontend.yui"],"updated":"2026-09-09"},{"name":"schemaVersion","kind":"field","type":"int","description":"Stores schema version as int.","signature":"int schemaVersion","tags":["thing","field","frontend.yui"],"updated":"2026-09-09"},{"name":"width","kind":"field","type":"int","description":"Stores width as int.","signature":"int width","tags":["thing","field","frontend.yui"],"updated":"2026-09-09"},{"name":"height","kind":"field","type":"int","description":"Stores height as int.","signature":"int height","tags":["thing","field","frontend.yui"],"updated":"2026-09-09"},{"name":"generation","kind":"field","type":"int","description":"Stores generation as int.","signature":"int generation","tags":["thing","field","frontend.yui"],"updated":"2026-09-09"},{"name":"presentCount","kind":"field","type":"int","description":"Stores present count as int.","signature":"int presentCount","tags":["thing","field","frontend.yui"],"updated":"2026-09-09"},{"name":"lastCommandCount","kind":"field","type":"int","description":"Stores last command count as int.","signature":"int lastCommandCount","tags":["thing","field","frontend.yui"],"updated":"2026-09-09"},{"name":"retainedInitialized","kind":"field","type":"bool","description":"Stores retained initialized as bool.","signature":"bool retainedInitialized","tags":["thing","field","frontend.yui"],"updated":"2026-09-09"},{"name":"retainedSurfaceId","kind":"field","type":"text","description":"Stores retained surface id as text.","signature":"text retainedSurfaceId","tags":["thing","field","frontend.yui"],"updated":"2026-09-09"},{"name":"state","kind":"field","type":"text","description":"Stores state as text.","signature":"text state","tags":["thing","field","frontend.yui"],"updated":"2026-09-09"},{"name":"diagnostic","kind":"field","type":"text","description":"Stores diagnostic as text.","signature":"text diagnostic","tags":["thing","field","frontend.yui"],"updated":"2026-09-09"},{"name":"yuiHostSurfaceStateV1","kind":"constructor","parameters":[{"name":"width","type":"int","description":"Width."},{"name":"height","type":"int","description":"Height."}],"returns":"void","signature":"yuiHostSurfaceStateV1(int width, int height)","description":"Yui host surface state v1.","tags":["thing","constructor","frontend.yui"],"updated":"2026-09-09"},{"name":"Ready","kind":"method","parameters":[],"returns":"bool","signature":"Ready() returns bool","description":"Ready.","tags":["thing","method","frontend.yui"],"exampleId":"method-Ready-12","updated":"2026-09-09"},{"name":"Failed","kind":"method","parameters":[{"name":"diagnostic","type":"text","description":"Diagnostic."}],"returns":"void","signature":"Failed(text diagnostic)","description":"Failed.","tags":["thing","method","frontend.yui"],"exampleId":"method-Failed-13","updated":"2026-09-09"},{"name":"Opened","kind":"method","parameters":[],"returns":"void","signature":"Opened()","description":"Opened.","tags":["thing","method","frontend.yui"],"exampleId":"method-Opened-14","updated":"2026-09-09"},{"name":"SetDiagnostic","kind":"method","parameters":[{"name":"diagnostic","type":"text","description":"Diagnostic."}],"returns":"void","signature":"SetDiagnostic(text diagnostic)","description":"Set diagnostic.","tags":["thing","method","frontend.yui"],"exampleId":"method-SetDiagnostic-15","updated":"2026-09-09"},{"name":"Lost","kind":"method","parameters":[{"name":"diagnostic","type":"text","description":"Diagnostic."}],"returns":"void","signature":"Lost(text diagnostic)","description":"Lost.","tags":["thing","method","frontend.yui"],"exampleId":"method-Lost-16","updated":"2026-09-09"},{"name":"BeginRecovery","kind":"method","parameters":[],"returns":"void","signature":"BeginRecovery()","description":"Begin recovery.","tags":["thing","method","frontend.yui"],"exampleId":"method-BeginRecovery-17","updated":"2026-09-09"},{"name":"Resized","kind":"method","parameters":[{"name":"width","type":"int","description":"Width."},{"name":"height","type":"int","description":"Height."}],"returns":"void","signature":"Resized(int width, int height)","description":"Resized.","tags":["thing","method","frontend.yui"],"exampleId":"method-Resized-18","updated":"2026-09-09"},{"name":"Presented","kind":"method","parameters":[{"name":"commandCount","type":"int","description":"Command count."},{"name":"retained","type":"bool","description":"Retained."},{"name":"surfaceId","type":"text","description":"Surface id."}],"returns":"void","signature":"Presented(int commandCount, bool retained, text surfaceId)","description":"Presented.","tags":["thing","method","frontend.yui"],"exampleId":"method-Presented-19","updated":"2026-09-09"},{"name":"Closed","kind":"method","parameters":[],"returns":"void","signature":"Closed()","description":"Closed.","tags":["thing","method","frontend.yui"],"exampleId":"method-Closed-20","updated":"2026-09-09"}],"tags":["cpu","frontend","frontend.yui","method","source-example","thing","yeho","yui"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/frontend/yui/host-surface-surface.yh","line":5,"sha256":"1ffac9ba53a93336086a9bedb66f35036dfa88134bea6ab6c5082c98d7b6f6bc"},"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 yuiHostSurfaceStateV1","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using frontend.yui\n\n// Turn YUI models into a working frontend and its rendering/input adapters.\nyuiHostSurfaceStateV1 sample = yuiHostSurfaceStateV1(1, 1)\nConsole.Log(Text.From(sample.schema))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.frontend_yui__yuihostsurfacestatev1\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"frontend.yui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/frontend/yui\"\n\n[[dependencies]]\npackage = \"graphics.canvas\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/canvas\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.image.processing\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image/processing\"\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 = \"input.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/input/text\"\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":"4a240af3126582460f81d281c27c48fc17d0e8900a2304d49294c66bbf1cbb33","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Ready-12","title":"yuiHostSurfaceStateV1.Ready","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using frontend.yui\n\n// Ready.\nyuiHostSurfaceStateV1 instance = yuiHostSurfaceStateV1(1, 1)\nbool result = instance.Ready()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.frontend_yui__yuihostsurfacestatev1\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"frontend.yui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/frontend/yui\"\n\n[[dependencies]]\npackage = \"graphics.canvas\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/canvas\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.image.processing\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image/processing\"\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 = \"input.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/input/text\"\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":"c831f1616880b1c99df7db9f8194e26dc2fc3b1487b256bc5885758a7d551888","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Failed-13","title":"yuiHostSurfaceStateV1.Failed","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using frontend.yui\n\n// Failed.\nyuiHostSurfaceStateV1 instance = yuiHostSurfaceStateV1(1, 1)\ntext argument_diagnostic = \"argument diagnostic\"\ninstance.Failed(argument_diagnostic)\nConsole.Log(\"Failed completed\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.frontend_yui__yuihostsurfacestatev1\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"frontend.yui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/frontend/yui\"\n\n[[dependencies]]\npackage = \"graphics.canvas\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/canvas\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.image.processing\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image/processing\"\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 = \"input.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/input/text\"\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":"1e30cedf6876d5ed206a3328c09d038888e439ff3ed8c8b121e7ce6a9e5c5efd","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Opened-14","title":"yuiHostSurfaceStateV1.Opened","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using frontend.yui\n\n// Opened.\nyuiHostSurfaceStateV1 instance = yuiHostSurfaceStateV1(1, 1)\ninstance.Opened()\nConsole.Log(\"Opened completed\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.frontend_yui__yuihostsurfacestatev1\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"frontend.yui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/frontend/yui\"\n\n[[dependencies]]\npackage = \"graphics.canvas\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/canvas\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.image.processing\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image/processing\"\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 = \"input.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/input/text\"\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":"6ea201480ecf17eb41703fee830f8c1a9c87d9882e1bb45fbcc98fd6d5a72e6f","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-SetDiagnostic-15","title":"yuiHostSurfaceStateV1.SetDiagnostic","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using frontend.yui\n\n// Set diagnostic.\nyuiHostSurfaceStateV1 instance = yuiHostSurfaceStateV1(1, 1)\ntext argument_diagnostic = \"argument diagnostic\"\ninstance.SetDiagnostic(argument_diagnostic)\nConsole.Log(\"SetDiagnostic completed\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.frontend_yui__yuihostsurfacestatev1\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"frontend.yui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/frontend/yui\"\n\n[[dependencies]]\npackage = \"graphics.canvas\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/canvas\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.image.processing\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image/processing\"\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 = \"input.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/input/text\"\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":"428d07c54ea774e384364895c437ef05fdea945238bbb5695ee13f222963875b","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Lost-16","title":"yuiHostSurfaceStateV1.Lost","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using frontend.yui\n\n// Lost.\nyuiHostSurfaceStateV1 instance = yuiHostSurfaceStateV1(1, 1)\ntext argument_diagnostic = \"argument diagnostic\"\ninstance.Lost(argument_diagnostic)\nConsole.Log(\"Lost completed\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.frontend_yui__yuihostsurfacestatev1\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"frontend.yui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/frontend/yui\"\n\n[[dependencies]]\npackage = \"graphics.canvas\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/canvas\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.image.processing\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image/processing\"\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 = \"input.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/input/text\"\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":"e910230e8198a99b13cfbe467dbc26202eff0a2c715a511df58bc682500b9578","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-BeginRecovery-17","title":"yuiHostSurfaceStateV1.BeginRecovery","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using frontend.yui\n\n// Begin recovery.\nyuiHostSurfaceStateV1 instance = yuiHostSurfaceStateV1(1, 1)\ninstance.BeginRecovery()\nConsole.Log(\"BeginRecovery completed\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.frontend_yui__yuihostsurfacestatev1\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"frontend.yui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/frontend/yui\"\n\n[[dependencies]]\npackage = \"graphics.canvas\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/canvas\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.image.processing\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image/processing\"\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 = \"input.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/input/text\"\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":"5732c2233c6762926cb9bc6941a2db9db010551b320d85dfaeb87719afb23fd5","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Resized-18","title":"yuiHostSurfaceStateV1.Resized","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using frontend.yui\n\n// Resized.\nyuiHostSurfaceStateV1 instance = yuiHostSurfaceStateV1(1, 1)\nint argument_width = 1\nint argument_height = 1\ninstance.Resized(argument_width, argument_height)\nConsole.Log(\"Resized completed\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.frontend_yui__yuihostsurfacestatev1\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"frontend.yui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/frontend/yui\"\n\n[[dependencies]]\npackage = \"graphics.canvas\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/canvas\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.image.processing\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image/processing\"\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 = \"input.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/input/text\"\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":"81667313f5af24f5dfcc41534f849abc6ce905e238486e82aca98b8b941f5db5","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Presented-19","title":"yuiHostSurfaceStateV1.Presented","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using frontend.yui\n\n// Presented.\nyuiHostSurfaceStateV1 instance = yuiHostSurfaceStateV1(1, 1)\nint argument_commandCount = 1\nbool argument_retained = true\ntext argument_surfaceId = \"argument surface Id\"\ninstance.Presented(argument_commandCount, argument_retained, argument_surfaceId)\nConsole.Log(\"Presented completed\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.frontend_yui__yuihostsurfacestatev1\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"frontend.yui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/frontend/yui\"\n\n[[dependencies]]\npackage = \"graphics.canvas\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/canvas\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.image.processing\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image/processing\"\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 = \"input.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/input/text\"\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":"86396ded8828191f85cf12b55bcba3ec7a352b40d7d95f991a9260de21872bc5","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Closed-20","title":"yuiHostSurfaceStateV1.Closed","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using frontend.yui\n\n// Closed.\nyuiHostSurfaceStateV1 instance = yuiHostSurfaceStateV1(1, 1)\ninstance.Closed()\nConsole.Log(\"Closed completed\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.frontend_yui__yuihostsurfacestatev1\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"frontend.yui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/frontend/yui\"\n\n[[dependencies]]\npackage = \"graphics.canvas\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/canvas\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.image.processing\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image/processing\"\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 = \"input.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/input/text\"\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":"9a54c77c8df8cbf8ec7dee6e83f584b96a224b67143e0860e199aeaa84312685","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["schema","schemaVersion","width","height","generation","presentCount","lastCommandCount","retainedInitialized","retainedSurfaceId","state","diagnostic","yuiHostSurfaceStateV1","Ready","Failed","Opened","SetDiagnostic","Lost","BeginRecovery","Resized","Presented","Closed"],"url":"https://demonhunterlabs.com/academy/api?item=frontend.yui--yuiHostSurfaceStateV1","json":"https://demonhunterlabs.com/reference/items/frontend.yui--yuiHostSurfaceStateV1.json","markdown":"https://demonhunterlabs.com/reference/text/frontend.yui--yuiHostSurfaceStateV1.md"}
