template <>

class Server

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

Public Methods

void OnKeyEvent (OnKeyEventRequest & request, OnKeyEventCompleter::Sync & completer)

Called when a key event takes place, such as key press or release.

Protocol implementers must respond to acknowledge the event by returning Status

in a timely manner, i.e. not introducing significant delays to the

input pipeline (typically 10s of milliseconds).

Returning `NOT_HANDLED` means the event may be offered to other

clients of other related APIs.

Clients that do not acknowledge their events will eventually be disconnected.

Notification is only dispatched to a view that has focus. No other views,

including parents or children, will get notified specifically via `OnKeyEvent`.

void Server ()

Defined at line 310 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 311 of file fidling/gen/sdk/fidl/fuchsia.ui.input3/fuchsia.ui.input3/cpp/fidl/fuchsia.ui.input3/cpp/natural_messaging.h