class Hit

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

Results of hit testing on a view's semantic tree which is implemented by

Runtimes(like Flutter/Chrome) and sent to Accessibility.

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

const uint32_t & node_id ()

Unique ID that represents a node in a particular UI.

Zero is assumed to be the root node and the only entry point to the tree.

node_id will not be filled when there is no hit.

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

bool has_node_id ()

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

uint32_t * mutable_node_id ()

Unique ID that represents a node in a particular UI.

Zero is assumed to be the root node and the only entry point to the tree.

node_id will not be filled when there is no hit.

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

void clear_node_id ()

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

const ::std::vector<uint32_t> & path_from_root ()

The ordered list of node ids which represent path from root node to the hit node.

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

bool has_path_from_root ()

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

::std::vector<uint32_t> * mutable_path_from_root ()

The ordered list of node ids which represent path from root node to the hit node.

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

void clear_path_from_root ()

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

Hit & set_node_id (uint32_t _value)
Hit & set_path_from_root (::std::vector<uint32_t> _value)
void Hit ()
void Hit (Hit && other)
void ~Hit ()
Hit & operator= (Hit && other)
::std::unique_ptr<Hit> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, Hit * _value, size_t _offset)
zx_status_t Clone (Hit * _result)