template <>

class WireWeakSyncClientImpl

Defined at line 659 of file fidling/gen/sdk/fidl/fuchsia.power.button/fuchsia.power.button/cpp/fidl/fuchsia.power.button/cpp/wire_messaging.h

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.