class BatteryWatchResult
Defined at line 631 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.battery/fuchsia.hardware.power.battery/cpp/fidl/fuchsia.hardware.power.battery/cpp/natural_types.h
Public Methods
void BatteryWatchResult (BatteryWatchResult && other)
BatteryWatchResult & operator= (BatteryWatchResult && other)
::fuchsia_hardware_power_battery::BatteryWatchResult::Tag Which ()
BatteryWatchResult WithResponse (::fuchsia_hardware_power_battery::BatteryWatchResponse val)
const ::fidl::internal::UnionMemberView<1, Storage_> response ()
::fidl::internal::UnionMemberView<1, Storage_> response ()
BatteryWatchResult & response (::fuchsia_hardware_power_battery::BatteryWatchResponse value)
Sets the union to hold the response member.
BatteryWatchResult WithFrameworkErr (::fidl::internal::FrameworkErr val)
const ::fidl::internal::UnionMemberView<2, Storage_> framework_err ()
::fidl::internal::UnionMemberView<2, Storage_> framework_err ()
BatteryWatchResult & framework_err (::fidl::internal::FrameworkErr value)
Sets the union to hold the framework_err member.
void BatteryWatchResult (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Enumerations
enum class Tag : fidl_xunion_tag_t
| Name | Value | Comments |
|---|---|---|
| kResponse | 1 |
0x1 |
| kFrameworkErr | 3 |
0x3 |
TODO: share union tag types between wire
&
natural.
Defined at line 639 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.battery/fuchsia.hardware.power.battery/cpp/fidl/fuchsia.hardware.power.battery/cpp/natural_types.h
Friends
class NaturalUnionCodingTraits