template <>
class WireSyncClientImpl
Defined at line 370 of file fidling/gen/sdk/fidl/fuchsia.power.battery/fuchsia.power.battery/cpp/fidl/fuchsia.power.battery/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_battery::BatteryInfoProvider>|,
avoiding setting up a client.
Public Methods
::fidl::WireResult< ::fuchsia_power_battery::BatteryInfoProvider::GetBatteryInfo> GetBatteryInfo ()
Gets battery info.
Allocates 16 bytes of request buffer on the stack. Response is heap-allocated.
::fidl::OneWayStatus Watch (::fidl::ClientEnd< ::fuchsia_power_battery::BatteryInfoWatcher> && watcher)
Registers a watcher for battery info changes.
Will receive an `OnChangeBatteryInfo` call with intial values upon registration.
Allocates 40 bytes of message buffer on the stack. No heap allocation necessary.