template <>

class WireSyncClientImpl

Defined at line 563 of file fidling/gen/sdk/fidl/fuchsia.ui.test.input/fuchsia.ui.test.input/cpp/fidl/fuchsia.ui.test.input/cpp/wire_messaging.h

Methods to make a sync FIDL call directly on an unowned handle or a

const reference to a |::fidl::ClientEnd

<

::fuchsia_ui_test_input::MediaButtonsDevice>|,

avoiding setting up a client.

Public Methods

::fidl::WireResult< ::fuchsia_ui_test_input::MediaButtonsDevice::SimulateButtonPress> SimulateButtonPress (::fuchsia_ui_test_input::wire::MediaButtonsDeviceSimulateButtonPressRequest MediaButtonsDeviceSimulateButtonPressRequest)

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

device.

Allocates 56 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::fuchsia_ui_test_input::MediaButtonsDevice::SendButtonsState> SendButtonsState (::fuchsia_ui_test_input::wire::MediaButtonsDeviceSendButtonsStateRequest MediaButtonsDeviceSendButtonsStateRequest)

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

device. Passing empty vector will release all pressing buttons.

Allocates 16 bytes of response buffer on the stack. Request is heap-allocated.

::fidl::WireResult< ::fuchsia_ui_test_input::MediaButtonsDevice::ScheduleSimulateButtonPress> ScheduleSimulateButtonPress (::fuchsia_ui_test_input::wire::MediaButtonsDeviceScheduleSimulateButtonPressRequest MediaButtonsDeviceScheduleSimulateButtonPressRequest)

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.

Allocates 72 bytes of message buffer on the stack. No heap allocation necessary.