{"id":"host.ui_services--nativeUiHostEventRecord","name":"nativeUiHostEventRecord","owner":"yeho","package":"host.ui_services","kind":"thing","signature":"external thing nativeUiHostEventRecord","description":"A native ui host event record record carrying sequence, timestampMicroseconds, correlationId, category, subject, and related state.","context":"Define host text, editing, clipboard, and accessibility service contracts.","parameters":[],"returns":"void","members":[{"name":"sequence","kind":"field","type":"int","description":"Stores sequence as int.","signature":"int sequence","tags":["thing","field","host.ui_services"],"updated":"2026-09-09"},{"name":"timestampMicroseconds","kind":"field","type":"int","description":"Stores timestamp microseconds as int.","signature":"int timestampMicroseconds","tags":["thing","field","host.ui_services"],"updated":"2026-09-09"},{"name":"correlationId","kind":"field","type":"int","description":"Stores correlation id as int.","signature":"int correlationId","tags":["thing","field","host.ui_services"],"updated":"2026-09-09"},{"name":"category","kind":"field","type":"text","description":"Stores category as text.","signature":"text category","tags":["thing","field","host.ui_services"],"updated":"2026-09-09"},{"name":"subject","kind":"field","type":"text","description":"Stores subject as text.","signature":"text subject","tags":["thing","field","host.ui_services"],"updated":"2026-09-09"},{"name":"state","kind":"field","type":"text","description":"Stores state as text.","signature":"text state","tags":["thing","field","host.ui_services"],"updated":"2026-09-09"},{"name":"detail","kind":"field","type":"text","description":"Stores detail as text.","signature":"text detail","tags":["thing","field","host.ui_services"],"updated":"2026-09-09"},{"name":"nativeUiHostEventRecord","kind":"constructor","parameters":[{"name":"sequence","type":"int","description":"Sequence."},{"name":"timestampMicroseconds","type":"int","description":"Timestamp microseconds."},{"name":"correlationId","type":"int","description":"Correlation id."},{"name":"category","type":"text","description":"Category."},{"name":"subject","type":"text","description":"Subject."},{"name":"state","type":"text","description":"State."},{"name":"detail","type":"text","description":"Detail."}],"returns":"void","signature":"nativeUiHostEventRecord(int sequence, int timestampMicroseconds, int correlationId, text category, text subject, text state, text detail)","description":"Native ui host event record.","tags":["thing","constructor","host.ui_services"],"updated":"2026-09-09"},{"name":"Describe","kind":"method","parameters":[],"returns":"text","signature":"Describe() returns text","description":"Describe.","tags":["thing","method","host.ui_services"],"exampleId":"method-Describe-8","updated":"2026-09-09"}],"tags":["cpu","host","host.ui_services","method","source-example","thing","ui_services","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/host/ui_services/00-contracts.yh","line":42,"sha256":"bb2e0a4fdde32198e4c9a2934b8cf26f08629ff18c08155984a323aacc313a21"},"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 nativeUiHostEventRecord","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using host.ui_services\n\n// Define host text, editing, clipboard, and accessibility service contracts.\nnativeUiHostEventRecord sample = nativeUiHostEventRecord(1, 1, 1, \"category\", \"subject\", \"state\", \"detail\")\nConsole.Log(Text.From(sample.sequence))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.host_ui_services__nativeuihosteventrecord\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n","tags":["cpu","source-example"],"verification":"type checked","run":"cpu-oracle","sha256":"0bc72c59028dfc8864855de9b227b18c88620cb73aab84a5188469e0b94d697a","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Describe-8","title":"nativeUiHostEventRecord.Describe","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using host.ui_services\n\n// Describe.\nnativeUiHostEventRecord instance = nativeUiHostEventRecord(1, 1, 1, \"category\", \"subject\", \"state\", \"detail\")\ntext result = instance.Describe()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.host_ui_services__nativeuihosteventrecord\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"bbc2ec3fd832840bb1dd6e1df753bf55676ced343f17d3eda1657c3a873de0b9","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["sequence","timestampMicroseconds","correlationId","category","subject","state","detail","nativeUiHostEventRecord","Describe"],"url":"https://demonhunterlabs.com/academy/api?item=host.ui_services--nativeUiHostEventRecord","json":"https://demonhunterlabs.com/reference/items/host.ui_services--nativeUiHostEventRecord.json","markdown":"https://demonhunterlabs.com/reference/text/host.ui_services--nativeUiHostEventRecord.md"}
