class ScreenCaptureConfig

Defined at line 173 of file fidling/gen/sdk/fidl/fuchsia.ui.composition.internal/fuchsia.ui.composition.internal/hlcpp/fuchsia/ui/composition/internal/cpp/fidl.h

Fields required to set up a ScreenCapture protocol in the [`Configure`]

call. Notice some fields are optional.

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

ScreenCaptureConfig & set_import_token (::fuchsia::ui::composition::BufferCollectionImportToken _value)
ScreenCaptureConfig & set_image_size (::fuchsia::math::SizeU _value)
ScreenCaptureConfig & set_image_rotation (::fuchsia::ui::composition::internal::ScreenCaptureRotation _value)
void ScreenCaptureConfig ()
void ScreenCaptureConfig (ScreenCaptureConfig && other)
void ~ScreenCaptureConfig ()
ScreenCaptureConfig & operator= (ScreenCaptureConfig && other)
::std::unique_ptr<ScreenCaptureConfig> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, ScreenCaptureConfig * _value, size_t _offset)
zx_status_t Clone (ScreenCaptureConfig * _result)
const ::fuchsia::ui::composition::BufferCollectionImportToken & import_token ()

The import token referencing a BufferCollection registered with the

Allocator.

Required.

Defined at line 182 of file fidling/gen/sdk/fidl/fuchsia.ui.composition.internal/fuchsia.ui.composition.internal/hlcpp/fuchsia/ui/composition/internal/cpp/fidl.h

bool has_import_token ()

Defined at line 186 of file fidling/gen/sdk/fidl/fuchsia.ui.composition.internal/fuchsia.ui.composition.internal/hlcpp/fuchsia/ui/composition/internal/cpp/fidl.h

::fuchsia::ui::composition::BufferCollectionImportToken * mutable_import_token ()

The import token referencing a BufferCollection registered with the

Allocator.

Required.

Defined at line 193 of file fidling/gen/sdk/fidl/fuchsia.ui.composition.internal/fuchsia.ui.composition.internal/hlcpp/fuchsia/ui/composition/internal/cpp/fidl.h

void clear_import_token ()

Defined at line 201 of file fidling/gen/sdk/fidl/fuchsia.ui.composition.internal/fuchsia.ui.composition.internal/hlcpp/fuchsia/ui/composition/internal/cpp/fidl.h

const ::fuchsia::math::SizeU & image_size ()

The size of the image in pixels: width and height.

This should be the width and height calculated after the

rotation that will be applied.

Required.

Defined at line 213 of file fidling/gen/sdk/fidl/fuchsia.ui.composition.internal/fuchsia.ui.composition.internal/hlcpp/fuchsia/ui/composition/internal/cpp/fidl.h

bool has_image_size ()

Defined at line 217 of file fidling/gen/sdk/fidl/fuchsia.ui.composition.internal/fuchsia.ui.composition.internal/hlcpp/fuchsia/ui/composition/internal/cpp/fidl.h

::fuchsia::math::SizeU * mutable_image_size ()

The size of the image in pixels: width and height.

This should be the width and height calculated after the

rotation that will be applied.

Required.

Defined at line 225 of file fidling/gen/sdk/fidl/fuchsia.ui.composition.internal/fuchsia.ui.composition.internal/hlcpp/fuchsia/ui/composition/internal/cpp/fidl.h

void clear_image_size ()

Defined at line 233 of file fidling/gen/sdk/fidl/fuchsia.ui.composition.internal/fuchsia.ui.composition.internal/hlcpp/fuchsia/ui/composition/internal/cpp/fidl.h

const ::fuchsia::ui::composition::internal::ScreenCaptureRotation & image_rotation ()

The rotation applied to the stream of images.

Defaults to CW_0_DEGREES (no rotation).

Optional.

Defined at line 244 of file fidling/gen/sdk/fidl/fuchsia.ui.composition.internal/fuchsia.ui.composition.internal/hlcpp/fuchsia/ui/composition/internal/cpp/fidl.h

bool has_image_rotation ()

Defined at line 248 of file fidling/gen/sdk/fidl/fuchsia.ui.composition.internal/fuchsia.ui.composition.internal/hlcpp/fuchsia/ui/composition/internal/cpp/fidl.h

::fuchsia::ui::composition::internal::ScreenCaptureRotation * mutable_image_rotation ()

The rotation applied to the stream of images.

Defaults to CW_0_DEGREES (no rotation).

Optional.

Defined at line 255 of file fidling/gen/sdk/fidl/fuchsia.ui.composition.internal/fuchsia.ui.composition.internal/hlcpp/fuchsia/ui/composition/internal/cpp/fidl.h

void clear_image_rotation ()

Defined at line 263 of file fidling/gen/sdk/fidl/fuchsia.ui.composition.internal/fuchsia.ui.composition.internal/hlcpp/fuchsia/ui/composition/internal/cpp/fidl.h