class Take

Defined at line 1368 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/cpp/fidl/fuchsia.ui.composition/cpp/markers.h

Collects the current graphical content of a display in a specified buffer `format` in the

sRGB color space. Note that the sRGB color space is non-linear, meaning that unit tests

doing pixel equality checks making use of non-fully saturated colors should convert to a

linear color space.

See https://fuchsia.dev/fuchsia-src/concepts/ui/scenic/color_spaces for more information.

Screenshot is taken immediately, populated with the display's content from the most recent

VSYNC.

If the client calls [`Take`] a second time before a first [`Take`] call returns, the server

will close the Screenshot connection with a ZX_ERR_SHOULD_WAIT epitaph.

If capture fails due to an internal error, the server will close the Screenshot connection

with a ZX_ERR_INTERNAL epitaph.

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