class SemanticTree

Defined at line 60 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/cpp/fidl/fuchsia.accessibility.semantics/cpp/markers.h

Interface to update the semantic tree for a particular view. Nodes can be added, updated or

deleted. Because the size of an update may exceed FIDL transfer limits, clients are responsible

for breaking up changes into multiple update and delete calls that conform to these limits. The

commit function must always be called at the end of a full update push to signal the end of an

update.

The client may make several calls to UpdateSemanticNodes(...) or DeleteSemanticNodes(...)

before calling CommitUpdates(), and must wait for the semantics manager to reply to the

CommitUpdates() method to know whether an update has been processed. This allows the client to

break up a set of changes (e.g. a re-computed semantic tree) to the semantic tree into

FIDL-compatible chunks, but commit them all at once.

If the semantics manager ever receives inconsistent state from the client, such as an

invalid tree or unrecognized parent node id, the server will close the channel. The client is

responsible for reconnecting and re-sending its state from scratch.

Public Members

static Openness kOpenness

Records