template <>

class NaturalSyncClientImpl

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

Public Methods

::fidl::Result< ::fuchsia_ui_input3::Keyboard::AddListener> AddListener (::fidl::Request< ::fuchsia_ui_input3::Keyboard::AddListener> request)

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.