class SetTagCmd

Defined at line 498 of file fidling/gen/sdk/fidl/fuchsia.ui.gfx/fuchsia.ui.gfx/hlcpp/fuchsia/ui/gfx/cpp/fidl.h

Sets/clears a node's tag value.

A session can apply a tag value to any node to which it has access, including

imported nodes. These tags are private to the session and cannot be read

or modified by other sessions. When multiple sessions import the same node,

each session will only observe its own tag values.

Hit test results for a session only include nodes which the session has

tagged with a non-zero value. Therefore a session can use tag values to

associate nodes with their functional purpose when picked.

Constraints:

- `node_id` refs a `Node`.

- `tag_value` is the tag value to assign, or 0 to remove the tag.

Public Members

uint32_t node_id
uint32_t tag_value

Public Methods

::std::unique_ptr<SetTagCmd> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, SetTagCmd * value, size_t _offset)
zx_status_t Clone (SetTagCmd * result)