template <>
class WireSyncClientImpl
Defined at line 475 of file fidling/gen/sdk/fidl/fuchsia.power.button/fuchsia.power.button/cpp/fidl/fuchsia.power.button/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_power_button::Monitor>|,
avoiding setting up a client.
Public Methods
::fidl::WireResult< ::fuchsia_power_button::Monitor::GetAction> GetAction ()
Get the current action for the power button.
Always returns immediately, never fails.
Allocates 40 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::fuchsia_power_button::Monitor::SetAction> SetAction (::fuchsia_power_button::wire::Action action)
Set the action that will be performed when the power button is pressed.
Always returns immediately, never fails.
Allocates 40 bytes of message buffer on the stack. No heap allocation necessary.