class SemanticListener

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

A semantic provider is the client-side interface that the manager can use to enable or disable

semantic updates, and to ask clients to perform accessibility actions.

Public Methods

void ~SemanticListener ()
void OnAccessibilityActionRequested (uint32_t node_id, ::fuchsia::accessibility::semantics::Action action, OnAccessibilityActionRequestedCallback callback)

Asks the semantics provider to perform an accessibility action on the

node with node id in the front-end.

void HitTest (::fuchsia::math::PointF local_point, HitTestCallback callback)

Asks the semantics provider to perform hit testing and return the result.

void OnSemanticsModeChanged (bool updates_enabled, OnSemanticsModeChangedCallback callback)

Callback telling the client whether or not to send updates to the semantic tree.

The semantics manager will clear all state when this is called with updates_enabled = false.

When called with updates_enabled = true, the client should sent the full state of the

current semantic tree.