class TakeApplicationActivityLease

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

Creates a lease that blocks the system from dropping below the Application

Activity 'Active' state. In particular, this blocks suspension of the

hardware platform.

This method is _not_ safe to call during SuspendBlocker.BeforeSuspend.

If an error occurs while creating a token for the activity lease, then the

channel to `ActivityGovernor` will be closed by the server and no

response will be returned.

Public Members

static const bool kHasClientToServer
static const bool kHasClientToServerBody
static const bool kHasServerToClient
static const bool kHasServerToClientBody
static const bool kHasNonEmptyUserFacingResponse
static const bool kHasDomainError
static const bool kHasFrameworkError
static const uint64_t kOrdinal