template <>

class WireWeakAsyncClientImpl

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

Public Methods

::fidl::internal::WireThenable< ::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 24 bytes of request buffer on the stack. The callback is stored on the heap.