Crate focus_chain_provider

Source
Expand description

Provides a hanging-get implementation of the fuchsia.ui.focus.FocusChainProvider protocol.

Structs§

FocusChainProviderPublisher
Allows new focus chain values to be stored for transmission to watcher clients (through the corresponding FocusChainProviderRequestStreamHandler).
FocusChainProviderRequestStreamHandler
Handles streams of requests from FocusChainProvider clients, responding to them with the latest value from the corresponding FocusChainProviderPublisher.

Functions§

make_publisher_and_stream_handler
Creates a new publisher and stream handler pair. Their initial focus chain value is always FocusKoidChain::default().