class MediaButtonsDevice

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

A tool to inject media button events into Input Pipeline.

Please extend as necessary.

Public Methods

void ~MediaButtonsDevice ()
void SimulateButtonPress (::fuchsia::ui::test::input::MediaButtonsDeviceSimulateButtonPressRequest MediaButtonsDeviceSimulateButtonPressRequest, SimulateButtonPressCallback callback)

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

device.

void SendButtonsState (::fuchsia::ui::test::input::MediaButtonsDeviceSendButtonsStateRequest MediaButtonsDeviceSendButtonsStateRequest, SendButtonsStateCallback callback)

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

device. Passing empty vector will release all pressing buttons.