class CodecProperties
Defined at line 9293 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
Public Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
void CodecProperties ()
void CodecProperties (CodecProperties && other)
const bool & is_input ()
Driver type is input (true) or output (false)
If not included, then the driver may be used for both input and output.
Optional.
Defined at line 9303 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
bool has_is_input ()
Defined at line 9307 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
bool * mutable_is_input ()
Driver type is input (true) or output (false)
If not included, then the driver may be used for both input and output.
Optional.
Defined at line 9315 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
void clear_is_input ()
Defined at line 9323 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
const ::std::string & manufacturer ()
UI string for the manufacturer name. If not included, the manufacturer is unspecified.
If included, this string must be non-empty.
Optional.
Defined at line 9335 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
bool has_manufacturer ()
Defined at line 9339 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
::std::string * mutable_manufacturer ()
UI string for the manufacturer name. If not included, the manufacturer is unspecified.
If included, this string must be non-empty.
Optional.
Defined at line 9347 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
void clear_manufacturer ()
Defined at line 9355 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
const ::std::string & product ()
UI string for the product name. If not included, the product name is unspecified.
If included, this string must be non-empty.
Optional.
Defined at line 9367 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
bool has_product ()
Defined at line 9371 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
::std::string * mutable_product ()
UI string for the product name. If not included, the product name is unspecified.
If included, this string must be non-empty.
Optional.
Defined at line 9379 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
void clear_product ()
Defined at line 9387 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
bool has_unique_id ()
Defined at line 9403 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
::std::array<uint8_t, 16> * mutable_unique_id ()
Unique identifier for the codec. If not included, there is no unique id for this Codec.
See `unique_id.fidl` for considerations about specific pre-defined values and ranges.
Optional.
Defined at line 9411 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
void clear_unique_id ()
Defined at line 9419 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
const ::fuchsia::hardware::audio::PlugDetectCapabilities & plug_detect_capabilities ()
Plug Detect Capabilities.
Required.
Defined at line 9430 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
bool has_plug_detect_capabilities ()
Defined at line 9434 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
::fuchsia::hardware::audio::PlugDetectCapabilities * mutable_plug_detect_capabilities ()
Plug Detect Capabilities.
Required.
Defined at line 9441 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
void clear_plug_detect_capabilities ()
Defined at line 9449 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
CodecProperties & set_is_input (bool _value)
CodecProperties & set_manufacturer (::std::string _value)
CodecProperties & set_product (::std::string _value)
CodecProperties & set_unique_id (::std::array<uint8_t, 16> _value)
CodecProperties & set_plug_detect_capabilities (::fuchsia::hardware::audio::PlugDetectCapabilities _value)
const ::std::array<uint8_t, 16> & unique_id ()
Unique identifier for the codec. If not included, there is no unique id for this Codec.
See `unique_id.fidl` for considerations about specific pre-defined values and ranges.
Optional.
Defined at line 9399 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
void ~CodecProperties ()
CodecProperties & operator= (CodecProperties && other)
::std::unique_ptr<CodecProperties> New ()
void Encode (::fidl::Encoder *_encoder,size_t_offset,std::optional< ::fidl::HandleInformation>maybe_handle_info)
void Decode (::fidl::Decoder *_decoder,CodecProperties *_value,size_t_offset)
zx_status_t Clone (CodecProperties * _result)