template <>

class WireTableBuilder

Defined at line 254 of file fidling/gen/sdk/fidl/fuchsia.ui.focus/fuchsia.ui.focus/cpp/fidl/fuchsia.ui.focus/cpp/wire_types.h

Public Methods

template <typename First = ::fidl::VectorView<::fuchsia_ui_views::wire::ViewRef>, typename... Args, std::enable_if_t<!std::is_same_v<cpp20::remove_cvref_t<First>, fidl::ObjectView<::fidl::VectorView<::fuchsia_ui_views::wire::ViewRef>>>, int> = 0>
::fidl::WireTableBuilder< ::fuchsia_ui_focus::wire::FocusChain> & focus_chain (First && first, Args &&... args_)

The `focus_chain` is reported in order of dominance in the View

hierarchy; each adjacent pair of elements represents a

parent-child relationship.

The `focus_chain` MAY be unset when `FocusChain` message is received, if

the message is sent very early in the scene setup, before the first

view is available.

When `focus_chain` is set, however, the root View is always present

and occupies slot 0 in the `focus_chain`. The newly-focused View

receives a `fuchsia.ui.input.FocusEvent` and occupies the final slot

in the vector.

If a View gets destroyed, a `FocusChain` holder that listens will

receive a `ZX_EVENTPAIR_PEER_CLOSED` signal on the corresponding

`ViewRef`.

## Invalidation.

A FocusChain is invalid if any one if its ViewRefs is

invalid.

Defined at line 286 of file fidling/gen/sdk/fidl/fuchsia.ui.focus/fuchsia.ui.focus/cpp/fidl/fuchsia.ui.focus/cpp/wire_types.h

Friends

template <>
class FocusChain