template <>
class WireServer
Defined at line 1544 of file fidling/gen/sdk/fidl/fuchsia.input.virtualkeyboard/fuchsia.input.virtualkeyboard/cpp/fidl/fuchsia.input.virtualkeyboard/cpp/wire_messaging.h
Pure-virtual interface to be implemented by a server.
This interface uses typed channels (i.e. |::fidl::ClientEnd
<
::fuchsia_input_virtualkeyboard::Manager>|
and |::fidl::ServerEnd
<
::fuchsia_input_virtualkeyboard::Manager>|).
Public Methods
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 (::fuchsia_input_virtualkeyboard::wire::ManagerNotifyRequest * 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.
void WireServer ()
Defined at line 1547 of file fidling/gen/sdk/fidl/fuchsia.input.virtualkeyboard/fuchsia.input.virtualkeyboard/cpp/fidl/fuchsia.input.virtualkeyboard/cpp/wire_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 ~WireServer ()
Defined at line 1548 of file fidling/gen/sdk/fidl/fuchsia.input.virtualkeyboard/fuchsia.input.virtualkeyboard/cpp/fidl/fuchsia.input.virtualkeyboard/cpp/wire_messaging.h