class CodecProperties

Defined at line 9291 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.

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)
void CodecProperties ()
void CodecProperties (CodecProperties && other)
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)
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 9301 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 9305 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 9313 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 9321 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 9333 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 9337 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 9345 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 9353 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 9365 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 9369 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 9377 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 9385 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h

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 9397 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 9401 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 9409 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 9417 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 9428 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 9432 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 9439 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 9447 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h