Struct AccessibilityTreeDelta
- Namespace
- Forma
- Assembly
- Forma.dll
What changed between two snapshots. This, not a whole tree, is what an OS bridge or a remote client wants: pushing 500 unchanged nodes because one label moved is the difference between a usable bridge and an unusable one.
public readonly struct AccessibilityTreeDelta
- Inherited Members
Properties
Added
Nodes that were not in the previous snapshot.
public IReadOnlyList<AccessibilityNode> Added { get; }
Property Value
FocusChanged
Whether focus moved, which is reported even when no node's detail changed.
public bool FocusChanged { get; }
Property Value
FocusedId
Where focus is now, or 0 for nothing focused.
public int FocusedId { get; }
Property Value
IsEmpty
True when nothing moved, so a caller can skip the push entirely.
public bool IsEmpty { get; }
Property Value
Removed
Ids of nodes that are gone, so a consumer can drop them without a search.
public IReadOnlyList<int> Removed { get; }
Property Value
Updated
Nodes whose reported detail changed. Identity is stable, so these are not re-adds.
public IReadOnlyList<AccessibilityNode> Updated { get; }