template <>
class WireWeakAsyncClientImpl
Defined at line 950 of file fidling/gen/sdk/fidl/fuchsia.hardware.powersource/fuchsia.hardware.powersource/cpp/fidl/fuchsia.hardware.powersource/cpp/wire_messaging.h
Public Methods
::fidl::internal::WireThenable< ::fuchsia_hardware_powersource::Source::GetPowerInfo> GetPowerInfo ()
Get device info.
Allocates 16 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::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.
Allocates 16 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_hardware_powersource::Source::GetBatteryInfo> GetBatteryInfo ()
Get battery info. Only supported if type == PowerType::BATTERY.
Allocates 16 bytes of request buffer on the stack. The callback is stored on the heap.