template <>
class Server
Defined at line 1519 of file fidling/gen/sdk/fidl/fuchsia.ui.test.input/fuchsia.ui.test.input/cpp/fidl/fuchsia.ui.test.input/cpp/natural_messaging.h
Public Methods
void Server ()
Defined at line 1522 of file fidling/gen/sdk/fidl/fuchsia.ui.test.input/fuchsia.ui.test.input/cpp/fidl/fuchsia.ui.test.input/cpp/natural_messaging.h
void SimulateUsAsciiTextEntry (SimulateUsAsciiTextEntryRequest & request, SimulateUsAsciiTextEntryCompleter::Sync & completer)
Simulates input of the set of keystrokes required to type `text`,
as if on a US QWERTY keyboard.
US ASCII text get mapped to the corresponding key presses.
For example `a` gets mapped into a press and
a followup release of the key `a` on the US QWERTY keyboard. Also,
`A` gets mapped into a press of the `Shift` key, followed by a press
and release of `a`.
For convenience, the `
` and `
` get converted into `Enter` and `Tab`
keys respectively.
void SimulateKeyEvent (SimulateKeyEventRequest & request, SimulateKeyEventCompleter::Sync & completer)
Simulate a key event by a keyboard input report.
KeyboardInputReport includes a list of keys that are currently pressing
down. The report can represent key down / up by comparing with previous
reports received.
void SimulateKeyPress (SimulateKeyPressRequest & request, SimulateKeyPressCompleter::Sync & completer)
Simulate one key press includes down and up event.
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 1523 of file fidling/gen/sdk/fidl/fuchsia.ui.test.input/fuchsia.ui.test.input/cpp/fidl/fuchsia.ui.test.input/cpp/natural_messaging.h