class ScreenshotTakeResponse
Defined at line 4808 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/cpp/fidl/fuchsia.ui.composition/cpp/natural_types.h
Public Methods
void ScreenshotTakeResponse (Storage_ storage)
bool IsEmpty ()
void ScreenshotTakeResponse ()
Defined at line 4813 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/cpp/fidl/fuchsia.ui.composition/cpp/natural_types.h
void ScreenshotTakeResponse (ScreenshotTakeResponse && )
Defined at line 4814 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/cpp/fidl/fuchsia.ui.composition/cpp/natural_types.h
ScreenshotTakeResponse & operator= (ScreenshotTakeResponse && )
Defined at line 4815 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/cpp/fidl/fuchsia.ui.composition/cpp/natural_types.h
const std::optional< ::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.
::std::optional< ::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.
ScreenshotTakeResponse & vmo (std::optional< ::zx::vmo> value)
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.
const std::optional< ::fuchsia_math::SizeU> & size ()
Size of the screenshot in pixels.
::std::optional< ::fuchsia_math::SizeU> & size ()
Size of the screenshot in pixels.
ScreenshotTakeResponse & size (std::optional< ::fuchsia_math::SizeU> value)
Size of the screenshot in pixels.
void ScreenshotTakeResponse (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalTableCodingTraits