class AcquireWakeLeaseError

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

Errors returned by `ActivityGovernor/AcquireWakeLease` and `AcquireWakeLease2`.

Public Members

static AcquireWakeLeaseError kInternal
static AcquireWakeLeaseError kInvalidName
static AcquireWakeLeaseError kServerTokenRequired
static AcquireWakeLeaseError kInvalidPreviousToken

Public Methods

void AcquireWakeLeaseError ()

Defined at line 41 of file fidling/gen/sdk/fidl/fuchsia.power.system/fuchsia.power.system/cpp/fidl/fuchsia.power.system/cpp/common_types.h

void AcquireWakeLeaseError (uint32_t value)

Defined at line 42 of file fidling/gen/sdk/fidl/fuchsia.power.system/fuchsia.power.system/cpp/fidl/fuchsia.power.system/cpp/common_types.h

EnumForSwitching_ operator fuchsia_power_system::AcquireWakeLeaseError::EnumForSwitching_ ()

Defined at line 43 of file fidling/gen/sdk/fidl/fuchsia.power.system/fuchsia.power.system/cpp/fidl/fuchsia.power.system/cpp/common_types.h

uint32_t operator unsigned int ()

Defined at line 44 of file fidling/gen/sdk/fidl/fuchsia.power.system/fuchsia.power.system/cpp/fidl/fuchsia.power.system/cpp/common_types.h

bool IsUnknown ()

Defined at line 46 of file fidling/gen/sdk/fidl/fuchsia.power.system/fuchsia.power.system/cpp/fidl/fuchsia.power.system/cpp/common_types.h

AcquireWakeLeaseError 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 63 of file fidling/gen/sdk/fidl/fuchsia.power.system/fuchsia.power.system/cpp/fidl/fuchsia.power.system/cpp/common_types.h