template <>

class WireSyncBufferClientImpl

Defined at line 264 of file fidling/gen/sdk/fidl/fuchsia.ui.input3/fuchsia.ui.input3/cpp/fidl/fuchsia.ui.input3/cpp/wire_messaging.h

Public Methods

::fidl::WireUnownedResult< ::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.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.