template <typename BuilderImpl>

class WireTableBaseBuilder

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

Public Methods

::fuchsia_ui_composition::wire::ScreenshotTakeFileResponse Build ()

Build and return the table. The builder should not be used after this.

bool has_file ()
void clear_file ()

Clears the file field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fidl::ClientEnd< ::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.

BuilderImpl & file (::fidl::ClientEnd< ::fuchsia_io::File> elem)

|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.

bool has_size ()
void clear_size ()

Clears the size field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

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

Size of the screenshot in pixels.

BuilderImpl & size (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_math::wire::SizeU>> elem)

Size of the screenshot in pixels.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_ui_composition::wire::ScreenshotTakeFileResponse, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_ui_composition::wire::ScreenshotTakeFileResponse>> && frame)

Records