template <>

class WireSyncBufferClientImpl

Defined at line 674 of file fidling/gen/sdk/fidl/fuchsia.hardware.powersource/fuchsia.hardware.powersource/cpp/fidl/fuchsia.hardware.powersource/cpp/wire_messaging.h

Public Methods

::fidl::WireUnownedResult< ::fuchsia_hardware_powersource::Source::GetPowerInfo> GetPowerInfo ()

Get device info.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::WireUnownedResult< ::fuchsia_hardware_powersource::Source::GetStateChangeEvent> GetStateChangeEvent ()

Get an event to receive state change notifications on. ZX_USER_SIGNAL_0 is

asserted when power info or battery info changes. ZX_USER_SIGNAL_0 is

reset when either `GetPowerInfo()` or `GetBatteryInfo()` is called.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::WireUnownedResult< ::fuchsia_hardware_powersource::Source::GetBatteryInfo> GetBatteryInfo ()

Get battery info. Only supported if type == PowerType::BATTERY.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.