class TimeRemaining
Defined at line 884 of file fidling/gen/sdk/fidl/fuchsia.power.battery/fuchsia.power.battery/cpp/fidl/fuchsia.power.battery/cpp/wire_types.h
The time remaining while actively charging or discharging.
Public Methods
void TimeRemaining ()
void TimeRemaining (const TimeRemaining & )
Defined at line 888 of file fidling/gen/sdk/fidl/fuchsia.power.battery/fuchsia.power.battery/cpp/fidl/fuchsia.power.battery/cpp/wire_types.h
TimeRemaining & operator= (const TimeRemaining & )
Defined at line 889 of file fidling/gen/sdk/fidl/fuchsia.power.battery/fuchsia.power.battery/cpp/fidl/fuchsia.power.battery/cpp/wire_types.h
void TimeRemaining (TimeRemaining && )
Defined at line 890 of file fidling/gen/sdk/fidl/fuchsia.power.battery/fuchsia.power.battery/cpp/fidl/fuchsia.power.battery/cpp/wire_types.h
TimeRemaining & operator= (TimeRemaining && )
Defined at line 891 of file fidling/gen/sdk/fidl/fuchsia.power.battery/fuchsia.power.battery/cpp/fidl/fuchsia.power.battery/cpp/wire_types.h
bool IsUnknown ()
Defined at line 899 of file fidling/gen/sdk/fidl/fuchsia.power.battery/fuchsia.power.battery/cpp/fidl/fuchsia.power.battery/cpp/wire_types.h
bool has_invalid_tag ()
bool is_indeterminate ()
TimeRemaining WithIndeterminate (::fidl::ObjectView<int64_t> val)
Representation of indeterminate state with zero duration.
template <typename... Args>
TimeRemaining WithIndeterminate (::fidl::AnyArena & allocator, Args &&... args)
Representation of indeterminate state with zero duration.
Defined at line 912 of file fidling/gen/sdk/fidl/fuchsia.power.battery/fuchsia.power.battery/cpp/fidl/fuchsia.power.battery/cpp/wire_types.h
int64_t & indeterminate ()
Representation of indeterminate state with zero duration.
const int64_t & indeterminate ()
Representation of indeterminate state with zero duration.
bool is_battery_life ()
TimeRemaining WithBatteryLife (::fidl::ObjectView<int64_t> val)
Remaining battery life while discharging.
template <typename... Args>
TimeRemaining WithBatteryLife (::fidl::AnyArena & allocator, Args &&... args)
Remaining battery life while discharging.
Defined at line 930 of file fidling/gen/sdk/fidl/fuchsia.power.battery/fuchsia.power.battery/cpp/fidl/fuchsia.power.battery/cpp/wire_types.h
int64_t & battery_life ()
Remaining battery life while discharging.
const int64_t & battery_life ()
Remaining battery life while discharging.
bool is_full_charge ()
TimeRemaining WithFullCharge (::fidl::ObjectView<int64_t> val)
Remaining time until full while charging.
template <typename... Args>
TimeRemaining WithFullCharge (::fidl::AnyArena & allocator, Args &&... args)
Remaining time until full while charging.
Defined at line 948 of file fidling/gen/sdk/fidl/fuchsia.power.battery/fuchsia.power.battery/cpp/fidl/fuchsia.power.battery/cpp/wire_types.h
int64_t & full_charge ()
Remaining time until full while charging.
const int64_t & full_charge ()
Remaining time until full while charging.
::fuchsia_power_battery::wire::TimeRemaining::Tag Which ()
Enumerations
enum Tag
| Name | Value |
|---|---|
| kIndeterminate | 1 |
| kBatteryLife | 2 |
| kFullCharge | 3 |
| _do_not_handle_this__write_a_default_case_instead | ::std::numeric_limits<::fidl_union_tag_t>::max() |
Defined at line 893 of file fidling/gen/sdk/fidl/fuchsia.power.battery/fuchsia.power.battery/cpp/fidl/fuchsia.power.battery/cpp/wire_types.h