template <>
class NaturalSyncClientImpl
Defined at line 217 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/cpp/fidl/fuchsia.accessibility.semantics/cpp/natural_messaging.h
Public Methods
::fidl::Result< ::fuchsia_accessibility_semantics::SemanticTree::CommitUpdates> CommitUpdates ()
Commits pending changes to node tree associated with the view using UpdateSemanticNodes and
DeleteSemanticNodes. Updates are processed in the order in which they are received. If the
committed updates result in an ill-formed tree (for example a missing root node or a cycle)
the semantic manager will close the channel.
::fidl::Result< ::fuchsia_accessibility_semantics::SemanticTree::SendSemanticEvent> SendSemanticEvent (const ::fidl::Request< ::fuchsia_accessibility_semantics::SemanticTree::SendSemanticEvent> & request)
Sends a Semantic Event related to this tree. This applies immediately
and does not wait for CommitUpdates(). It is the caller's
responsibility to fire events on nodes that have been already commited.
The return callback is invoked to acknowledge that the event was received.
::fit::result< ::fidl::OneWayError> UpdateSemanticNodes (const ::fidl::Request< ::fuchsia_accessibility_semantics::SemanticTree::UpdateSemanticNodes> & request)
Sends new/updated nodes to the root to add to the cache on the next commit.
::fit::result< ::fidl::OneWayError> DeleteSemanticNodes (const ::fidl::Request< ::fuchsia_accessibility_semantics::SemanticTree::DeleteSemanticNodes> & request)
Tells the root to remove nodes with node_ids from the semantic tree on the next commit.