template <>

class Server

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

Public Methods

void AddListener (AddListenerRequest & request, AddListenerCompleter::Sync & completer)

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.

void Server ()

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

Handler bind_handler (async_dispatcher_t * dispatcher)

|bind_handler| returns a handler that binds incoming connections to this

server implementation.

The returned handler borrows the server instance.

The server must outlive the provided |dispatcher|. Only after

the dispatcher is shutdown will it be safe to destroy the servers.

The server should not be moved.

void ~Server ()

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