class ScreenshotTakeResponse

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

Public Methods

bool IsEmpty ()

Returns whether no field is set.

bool HasUnknownData ()

Returns whether the table references unknown fields.

void ScreenshotTakeResponse ()

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

void ScreenshotTakeResponse (const ScreenshotTakeResponse & other)

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

void _CloseHandles ()
::fidl::WireTableBuilder< ::fuchsia_ui_composition::wire::ScreenshotTakeResponse> Builder (::fidl::AnyArena & arena)

Return a builder that by defaults allocates of an arena.

::fidl::WireTableExternalBuilder< ::fuchsia_ui_composition::wire::ScreenshotTakeResponse> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_ui_composition::wire::ScreenshotTakeResponse>> frame)

Return a builder that relies on explicitly allocating |fidl::ObjectView|s.

ScreenshotTakeResponse & operator= (const ScreenshotTakeResponse & other)

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

void ScreenshotTakeResponse (ScreenshotTakeResponse && other)

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

ScreenshotTakeResponse & operator= (ScreenshotTakeResponse && other)

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

::zx::vmo & vmo ()

CPU mappable read-only VMO that contains screenshot data. The server owns the VMO and

may reuse for the next [`Take`]. The VMO is guaranteed to be accessible after mapping.

In some allocations, VMO::read() might not be available, i.e. on emulator.

Basic usage: After the client receives a VMO handle, to ensure data stability, it should

finish reading the VMO before calling [`Take`] again. When finished reading, the client

should drop the VMO handle.

Advanced usage: To edit the data, or to persist it beyond the next [`Take`] call, the

client should copy the data to a private VMO.

bool has_vmo ()
::fuchsia_math::wire::SizeU & size ()

Size of the screenshot in pixels.

bool has_size ()
void ~ScreenshotTakeResponse ()

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

Friends

class WireTableBaseBuilder
class WireTableBaseBuilder