class Error

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

Errors returned by the battery protocol.

Public Members

static Error kInternal
static Error kNotSupported
static Error kInvalidArgs
static Error kIo
static Error kAlreadyWatching

Public Methods

void Error ()

Defined at line 44 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 Error (uint32_t value)

Defined at line 45 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::Error::EnumForSwitching_ ()

Defined at line 46 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 47 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 49 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.battery/fuchsia.hardware.power.battery/cpp/fidl/fuchsia.hardware.power.battery/cpp/common_types.h

Error 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 68 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.battery/fuchsia.hardware.power.battery/cpp/fidl/fuchsia.hardware.power.battery/cpp/common_types.h