class ScreenshotTakeResponse
Defined at line 4802 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/hlcpp/fuchsia/ui/composition/cpp/fidl.h
Public Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
const ::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.
Defined at line 4818 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/hlcpp/fuchsia/ui/composition/cpp/fidl.h
bool has_vmo ()
Defined at line 4822 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/hlcpp/fuchsia/ui/composition/cpp/fidl.h
::zx::vmo * mutable_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.
Defined at line 4836 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/hlcpp/fuchsia/ui/composition/cpp/fidl.h
void clear_vmo ()
Defined at line 4844 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/hlcpp/fuchsia/ui/composition/cpp/fidl.h
ScreenshotTakeResponse & set_vmo (::zx::vmo _value)
const ::fuchsia::math::SizeU & size ()
Size of the screenshot in pixels.
Defined at line 4853 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/hlcpp/fuchsia/ui/composition/cpp/fidl.h
bool has_size ()
Defined at line 4857 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/hlcpp/fuchsia/ui/composition/cpp/fidl.h
::fuchsia::math::SizeU * mutable_size ()
Size of the screenshot in pixels.
Defined at line 4862 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/hlcpp/fuchsia/ui/composition/cpp/fidl.h
void clear_size ()
Defined at line 4870 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/hlcpp/fuchsia/ui/composition/cpp/fidl.h
ScreenshotTakeResponse & set_size (::fuchsia::math::SizeU _value)
void ScreenshotTakeResponse ()
void ScreenshotTakeResponse (ScreenshotTakeResponse && other)
void ~ScreenshotTakeResponse ()
ScreenshotTakeResponse & operator= (ScreenshotTakeResponse && other)
::std::unique_ptr<ScreenshotTakeResponse> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, ScreenshotTakeResponse * _value, size_t _offset)
zx_status_t Clone (ScreenshotTakeResponse * _result)