class ScreenshotTakeFileResponse
Defined at line 5012 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 ::fidl::InterfaceHandle< ::fuchsia::io::File> & file ()
|fuchsia.io.File| channel used to read the generated screenshot file data.
The server side of the channel is stored on the device until ZX_CHANNEL_PEER_CLOSED
is detected.
Basic usage: After the client recieves the client end of the file channel,
to avoid memory pile-ups, it should finish reading the data
before calling [`TakeFile`] again. When finished reading,
the client should call [`Close`] on the |fuchsia.io.File| channel, this will release
the memory allocated on the server side.
Defined at line 5027 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/hlcpp/fuchsia/ui/composition/cpp/fidl.h
bool has_file ()
Defined at line 5031 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/hlcpp/fuchsia/ui/composition/cpp/fidl.h
::fidl::InterfaceHandle< ::fuchsia::io::File> * mutable_file ()
|fuchsia.io.File| channel used to read the generated screenshot file data.
The server side of the channel is stored on the device until ZX_CHANNEL_PEER_CLOSED
is detected.
Basic usage: After the client recieves the client end of the file channel,
to avoid memory pile-ups, it should finish reading the data
before calling [`TakeFile`] again. When finished reading,
the client should call [`Close`] on the |fuchsia.io.File| channel, this will release
the memory allocated on the server side.
Defined at line 5044 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/hlcpp/fuchsia/ui/composition/cpp/fidl.h
void clear_file ()
Defined at line 5052 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/hlcpp/fuchsia/ui/composition/cpp/fidl.h
ScreenshotTakeFileResponse & set_file (::fidl::InterfaceHandle< ::fuchsia::io::File> _value)
const ::fuchsia::math::SizeU & size ()
Size of the screenshot in pixels.
Defined at line 5061 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 5065 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 5070 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 5078 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/hlcpp/fuchsia/ui/composition/cpp/fidl.h
ScreenshotTakeFileResponse & set_size (::fuchsia::math::SizeU _value)
void ScreenshotTakeFileResponse ()
void ScreenshotTakeFileResponse (ScreenshotTakeFileResponse && other)
void ~ScreenshotTakeFileResponse ()
ScreenshotTakeFileResponse & operator= (ScreenshotTakeFileResponse && other)
::std::unique_ptr<ScreenshotTakeFileResponse> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, ScreenshotTakeFileResponse * _value, size_t _offset)
zx_status_t Clone (ScreenshotTakeFileResponse * _result)