Scoop API

scoop:scoop.window:0.1.0

AccessibilityNode

class AccessibilityNode

source · line 9
public
public class AccessibilityNode internal constructor(
    internal val provider: AccessibilityProvider,
    public val id: SemanticNodeId,
    public val role: SemanticRole,
    internal var parentNode: AccessibilityNode?
) : Closeable

A semantic resource whose role and identity last until it is explicitly retired.

function update

source · line 372
public
public fun update(properties: SemanticProperties, actions: SemanticActions = SemanticActions(), relations: SemanticRelations = SemanticRelations()): Unit

Replaces current facts and callbacks without changing the native role or identity.

function close

source · line 635
public
public override fun close(): Unit

Retires this node and its descendants. Retired native references cannot be reused.

property contentRevision

source · line 217
public
public val contentRevision: ULong

get: public read-only

Changes when content or a label dependency invalidates captured layout geometry.