class StreamConstraints
Defined at line 913 of file fidling/gen/sdk/fidl/fuchsia.camera2/fuchsia.camera2/hlcpp/fuchsia/camera2/cpp/fidl.h
These constraints are given to the Camera Manager when requesting a stream. The
Camera Manager will use these constraints to match an appropriate stream.
Public Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
const ::fuchsia::camera2::StreamProperties & properties ()
A table that describes the properties of the stream. Any properties specified will
be considered requirements for matching streams.
Defined at line 921 of file fidling/gen/sdk/fidl/fuchsia.camera2/fuchsia.camera2/hlcpp/fuchsia/camera2/cpp/fidl.h
bool has_properties ()
Defined at line 925 of file fidling/gen/sdk/fidl/fuchsia.camera2/fuchsia.camera2/hlcpp/fuchsia/camera2/cpp/fidl.h
::fuchsia::camera2::StreamProperties * mutable_properties ()
A table that describes the properties of the stream. Any properties specified will
be considered requirements for matching streams.
Defined at line 931 of file fidling/gen/sdk/fidl/fuchsia.camera2/fuchsia.camera2/hlcpp/fuchsia/camera2/cpp/fidl.h
void clear_properties ()
Defined at line 939 of file fidling/gen/sdk/fidl/fuchsia.camera2/fuchsia.camera2/hlcpp/fuchsia/camera2/cpp/fidl.h
const uint32_t & format_index ()
If specified, the stream will be created using this index for the initial format index.
If unspecified, the first stream format will be used.
Defined at line 949 of file fidling/gen/sdk/fidl/fuchsia.camera2/fuchsia.camera2/hlcpp/fuchsia/camera2/cpp/fidl.h
bool has_format_index ()
Defined at line 953 of file fidling/gen/sdk/fidl/fuchsia.camera2/fuchsia.camera2/hlcpp/fuchsia/camera2/cpp/fidl.h
uint32_t * mutable_format_index ()
If specified, the stream will be created using this index for the initial format index.
If unspecified, the first stream format will be used.
Defined at line 959 of file fidling/gen/sdk/fidl/fuchsia.camera2/fuchsia.camera2/hlcpp/fuchsia/camera2/cpp/fidl.h
void clear_format_index ()
Defined at line 967 of file fidling/gen/sdk/fidl/fuchsia.camera2/fuchsia.camera2/hlcpp/fuchsia/camera2/cpp/fidl.h
StreamConstraints & set_properties (::fuchsia::camera2::StreamProperties _value)
StreamConstraints & set_format_index (uint32_t _value)
void StreamConstraints ()
void StreamConstraints (StreamConstraints && other)
void ~StreamConstraints ()
StreamConstraints & operator= (StreamConstraints && other)
::std::unique_ptr<StreamConstraints> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, StreamConstraints * _value, size_t _offset)
zx_status_t Clone (StreamConstraints * _result)