template <>

class Server

Defined at line 683 of file fidling/gen/sdk/fidl/fuchsia.input.virtualkeyboard/fuchsia.input.virtualkeyboard/cpp/fidl/fuchsia.input.virtualkeyboard/cpp/natural_messaging.h

Public Methods

void Server ()

Defined at line 686 of file fidling/gen/sdk/fidl/fuchsia.input.virtualkeyboard/fuchsia.input.virtualkeyboard/cpp/fidl/fuchsia.input.virtualkeyboard/cpp/natural_messaging.h

void WatchTypeAndVisibility (WatchTypeAndVisibilityCompleter::Sync & completer)

Waits for a change in intended `text_type` or visibility, then

reports the new value. In response to a status change, the caller

should set the requested type and visibility, then call `Notify`

to inform the platform of the change.

The first call immediately returns the currently intended

`text_type` and visibility.

In the event that `text_type` is not supported, the caller should

implement a fallback that provides as many of the necessary keys

as possible.

void Notify (NotifyRequest & request, NotifyCompleter::Sync & completer)

Informs the callee that the visibility of the virtual keyboard has

changed, and what triggered the change.

The caller _should_ wait for a result before invoking invoking this

method again, to avoid overloading the callee.

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 687 of file fidling/gen/sdk/fidl/fuchsia.input.virtualkeyboard/fuchsia.input.virtualkeyboard/cpp/fidl/fuchsia.input.virtualkeyboard/cpp/natural_messaging.h