template <>

class WireServer

Defined at line 932 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::Controller>|

and |::fidl::ServerEnd

<

::fuchsia_input_virtualkeyboard::Controller>|).

Public Methods

void SetTextType (::fuchsia_input_virtualkeyboard::wire::ControllerSetTextTypeRequest * request, SetTextTypeCompleter::Sync & completer)

Requests a change in text type for the virtual keyboard.

* If the callee determines that the `View` for this Controller is

focused, the callee applies the change immediately.

* If the callee determines that the `View` for this Controller is

_not_ focused, the callee applies the change when the `View` regains

focus.

* If the callee receives multiple calls before the `View` regains

focus, the callee will apply the value from the most recent call.

void RequestShow (RequestShowCompleter::Sync & completer)

Requests that the keyboard be made visible.

* If the callee determines that the `View` for this Controller is

focused, the callee applies the change immediately.

* If the callee determines that the `View` for this Controller is

_not_ focused, the callee applies the change when the `View`

regains focus. However, a call to `RequestHide()` will nullify

such a pending request.

* Calls to this method are idempotent.

void RequestHide (RequestHideCompleter::Sync & completer)

Requests that the keyboard be hidden.

* If the callee determines that the `View` for this Controller is

focused, the callee applies the change immediately.

* If the callee determines that the `View` for this Controller is

_not_ focused:

* If there is a pending `RequestShow()`, the callee cancels

that request.

* Otherwise, the call has no effect.

* Calls to this method are idempotent.

void WatchVisibility (WatchVisibilityCompleter::Sync & completer)

Waits for the visibility to change, then reports the new value.

* Returns `true` after the callee receives a RequestShow()

call from this Controller, when this Controller was not

already requesting the keyboard be shown.

* This _may_ occur before the keyboard is visible on screen.

* This _may_ occur before the `View` for this Controller is

focused.

* Returns `false` when the callee decides to hide the keyboard

that was requested by this Controller.

* This may happen due to a call to `RequestHide()`, or

implicitly when the `View` loses focus.

* The function _may_ return while the keyboard is still

visible on screen.

* The first call immediately returns...

* `true` if the callee has decided that the keyboard should

be visible due to a request from this Controller (this

does not guarantee that the keyboard is visible on screen)

* `false` otherwise

void WireServer ()

Defined at line 935 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 936 of file fidling/gen/sdk/fidl/fuchsia.input.virtualkeyboard/fuchsia.input.virtualkeyboard/cpp/fidl/fuchsia.input.virtualkeyboard/cpp/wire_messaging.h