window.multi · thing ·

nativePointerFrame

A native pointer frame record carrying schema, schemaVersion, windowId, sequence, timestampMicroseconds, and related state.

cpumethodmultisource-examplethingwindowwindow.multiyeho

Describe multiple windows, input events, lifecycle, and capabilities with typed records.

external thing nativePointerFrame

Status: source-declared

Fields and methods (15)
text schema
Stores schema as text.
int schemaVersion
Stores schema version as int.
text windowId
Stores window id as text.
int sequence
Stores sequence as int.
int timestampMicroseconds
Stores timestamp microseconds as int.
int maximumContacts
Stores maximum contacts as int.
list of nativePointerRecord activeContacts
Stores active contacts as list of nativePointerRecord.
list of nativePointerContactChange changes
Stores changes as list of nativePointerContactChange.
text diagnostic
Stores diagnostic as text.
nativePointerFrame(text windowId)
Native pointer frame.
Reject(text reason) returns bool
Reject. Complete example
ContactIndex(int pointerId) returns int
Contact index. Complete example
Advance(list of nativePointerContactChange requestedChanges, int nextSequence, int nextTimestampMicroseconds) returns bool
Advance. Complete example
Snapshot() returns nativePointerFrame
Snapshot. Complete example
Fingerprint() returns text
Fingerprint. Complete example

Use nativePointerFrame

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

cpu · source-example · type checked

using window.multi

// Describe multiple windows, input events, lifecycle, and capabilities with typed records.
nativePointerFrame sample = nativePointerFrame("window Id")
Console.Log(Text.From(sample.schema))
project.mech
manifestVersion = "2"
package = "api.example.window_multi__nativepointerframe"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "window.multi"
version = "0.1.0"
path = "../../../yeho/packages/window/multi"

nativePointerFrame.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 window.multi

// Reject.
nativePointerFrame instance = nativePointerFrame("window Id")
text argument_reason = "argument reason"
bool result = instance.Reject(argument_reason)
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.window_multi__nativepointerframe"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "window.multi"
version = "0.1.0"
path = "../../../yeho/packages/window/multi"

nativePointerFrame.ContactIndex

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

cpu · method · source-example · type checked

using window.multi

// Contact index.
nativePointerFrame instance = nativePointerFrame("window Id")
int argument_pointerId = 1
int result = instance.ContactIndex(argument_pointerId)
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.window_multi__nativepointerframe"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "window.multi"
version = "0.1.0"
path = "../../../yeho/packages/window/multi"

nativePointerFrame.Advance

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

cpu · method · source-example · type checked

using window.multi

// Advance.
nativePointerFrame instance = nativePointerFrame("window Id")
list of nativePointerContactChange argument_requestedChanges = []
int argument_nextSequence = 1
int argument_nextTimestampMicroseconds = 1
bool result = instance.Advance(argument_requestedChanges, argument_nextSequence, argument_nextTimestampMicroseconds)
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.window_multi__nativepointerframe"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "window.multi"
version = "0.1.0"
path = "../../../yeho/packages/window/multi"

nativePointerFrame.Snapshot

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

cpu · method · source-example · type checked

using window.multi

// Snapshot.
nativePointerFrame instance = nativePointerFrame("window Id")
nativePointerFrame result = instance.Snapshot()
Console.Log("Inspect result in your debugger")
project.mech
manifestVersion = "2"
package = "api.example.window_multi__nativepointerframe"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "window.multi"
version = "0.1.0"
path = "../../../yeho/packages/window/multi"

nativePointerFrame.Fingerprint

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

cpu · method · source-example · type checked

using window.multi

// Fingerprint.
nativePointerFrame instance = nativePointerFrame("window Id")
text result = instance.Fingerprint()
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.window_multi__nativepointerframe"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "window.multi"
version = "0.1.0"
path = "../../../yeho/packages/window/multi"
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/window/multi/20-pointer-frame.yh:148