class ChargeStatus

Defined at line 119 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.battery/fuchsia.hardware.power.battery/cpp/fidl/fuchsia.hardware.power.battery/cpp/common_types.h

Describes the physical charging state of the battery pack.

Public Members

static ChargeStatus kNotCharging
static ChargeStatus kCharging
static ChargeStatus kDischarging
static ChargeStatus kFull

Public Methods

void ChargeStatus ()

Defined at line 143 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.battery/fuchsia.hardware.power.battery/cpp/fidl/fuchsia.hardware.power.battery/cpp/common_types.h

void ChargeStatus (uint32_t value)

Defined at line 144 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.battery/fuchsia.hardware.power.battery/cpp/fidl/fuchsia.hardware.power.battery/cpp/common_types.h

EnumForSwitching_ operator fuchsia_hardware_power_battery::ChargeStatus::EnumForSwitching_ ()

Defined at line 145 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.battery/fuchsia.hardware.power.battery/cpp/fidl/fuchsia.hardware.power.battery/cpp/common_types.h

uint32_t operator unsigned int ()

Defined at line 146 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.battery/fuchsia.hardware.power.battery/cpp/fidl/fuchsia.hardware.power.battery/cpp/common_types.h

bool IsUnknown ()

Defined at line 148 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.battery/fuchsia.hardware.power.battery/cpp/fidl/fuchsia.hardware.power.battery/cpp/common_types.h

ChargeStatus Unknown ()

Returns an enum corresponding to the member designated as

in the

FIDL schema if exists, or a compiler-reserved unknown value otherwise.

Defined at line 165 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.battery/fuchsia.hardware.power.battery/cpp/fidl/fuchsia.hardware.power.battery/cpp/common_types.h