class FocusChainProvider

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

The `FocusChainProvider` protocol allows privileged clients to watch for

focus chain updates.

It is intended as an experimental solution for providing focus information

to the clipboard.

Public Members

static const char[] Name_

Public Methods

void ~FocusChainProvider ()
void WatchFocusKoidChain (::fuchsia::ui::focus::FocusChainProviderWatchFocusKoidChainRequest FocusChainProviderWatchFocusKoidChainRequest, WatchFocusKoidChainCallback callback)

Subscribe to changes in the focus chain (koids only) with a hanging-get

pattern.

The server responds immediately with the initial state, and afterwards

whenever a change occurs. Updates are not queued up for slow clients;

only the latest state is sent.

It is invalid to call this method while a previous call is pending.

Doing so will cause the server end of the protocol to be closed.