template <>

class Server

Defined at line 201 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 204 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 SimulateButtonPress (SimulateButtonPressRequest & request, SimulateButtonPressCompleter::Sync & completer)

Simulates a button press and release on the requested button on the

device.

void SendButtonsState (SendButtonsStateRequest & request, SendButtonsStateCompleter::Sync & completer)

Send a vector of pressing button on the requested button on the

device. Passing empty vector will release all pressing buttons.

void ScheduleSimulateButtonPress (ScheduleSimulateButtonPressRequest & request, ScheduleSimulateButtonPressCompleter::Sync & completer)

Schedules a button press and release of the requested button at a

specific duration from now. "Now" is defined as the time when the request is processed by the

device, so there is some latency.

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