template <>
class WireSyncClientImpl
Defined at line 248 of file fidling/gen/sdk/fidl/fuchsia.ui.input3/fuchsia.ui.input3/cpp/fidl/fuchsia.ui.input3/cpp/wire_messaging.h
Methods to make a sync FIDL call directly on an unowned handle or a
const reference to a |::fidl::ClientEnd
<
::fuchsia_ui_input3::Keyboard>|,
avoiding setting up a client.
Public Methods
::fidl::WireResult< ::fuchsia_ui_input3::Keyboard::AddListener> AddListener (::fuchsia_ui_views::wire::ViewRef && view_ref, ::fidl::ClientEnd< ::fuchsia_ui_input3::KeyboardListener> && listener)
Add a key event listener for the specified View.
If multiple listeners are added, each will receive key events independently and
should respond with a `Status`.
The client calling `AddListener` should keep the connection to `Keyboard` alive
for as long as the events from `KeyboardListener` need to be received. Dropping the
connection to the `Keyboard` protocol will terminate `KeyboardListener` as well.
Allocates 40 bytes of message buffer on the stack. No heap allocation necessary.