template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 1868 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.bredr/fuchsia.bluetooth.bredr/cpp/fidl/fuchsia.bluetooth.bredr/cpp/wire_types.h

Public Methods

::fuchsia_bluetooth_bredr::wire::ScoConnectionParameters Build ()

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

bool has_parameter_set ()
void clear_parameter_set ()

Clears the parameter_set field.

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

O(number_of_fields) complexity.

::fuchsia_bluetooth_bredr::wire::HfpParameterSet & parameter_set ()

Set of SCO parameters from the Hands-Free Profile specification.

Required.

BuilderImpl & parameter_set (::fuchsia_bluetooth_bredr::wire::HfpParameterSet elem)

Set of SCO parameters from the Hands-Free Profile specification.

Required.

bool has_air_coding_format ()
void clear_air_coding_format ()

Clears the air_coding_format field.

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

O(number_of_fields) complexity.

::fuchsia_bluetooth::wire::AssignedCodingFormat & air_coding_format ()

The over-the-air coding format used for transmitted and received data.

Required.

BuilderImpl & air_coding_format (::fuchsia_bluetooth::wire::AssignedCodingFormat elem)

The over-the-air coding format used for transmitted and received data.

Required.

bool has_air_frame_size ()
void clear_air_frame_size ()

Clears the air_frame_size field.

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

O(number_of_fields) complexity.

uint16_t & air_frame_size ()

Frame size produced by the codec in the context of over-the-air coding.

Required.

BuilderImpl & air_frame_size (uint16_t elem)

Frame size produced by the codec in the context of over-the-air coding.

Required.

bool has_io_bandwidth ()
void clear_io_bandwidth ()

Clears the io_bandwidth field.

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

O(number_of_fields) complexity.

uint32_t & io_bandwidth ()

Host-controller data rate in bytes/second.

Required.

BuilderImpl & io_bandwidth (uint32_t elem)

Host-controller data rate in bytes/second.

Required.

bool has_io_coding_format ()
void clear_io_coding_format ()

Clears the io_coding_format field.

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

O(number_of_fields) complexity.

::fuchsia_bluetooth::wire::AssignedCodingFormat & io_coding_format ()

The coding format used over the transport.

Required.

BuilderImpl & io_coding_format (::fuchsia_bluetooth::wire::AssignedCodingFormat elem)

The coding format used over the transport.

Required.

bool has_io_frame_size ()
void clear_io_frame_size ()

Clears the io_frame_size field.

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

O(number_of_fields) complexity.

uint16_t & io_frame_size ()

The number of bits in each sample/frame of data.

Required.

BuilderImpl & io_frame_size (uint16_t elem)

The number of bits in each sample/frame of data.

Required.

bool has_io_pcm_data_format ()
void clear_io_pcm_data_format ()

Clears the io_pcm_data_format field.

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

O(number_of_fields) complexity.

::fuchsia_hardware_audio::wire::SampleFormat & io_pcm_data_format ()

The data format over the transport for linear samples.

Ignored for non-linear coding formats.

Optional.

SIGNED indicates 2's complement sign encoding.

FLOAT is not supported.

BuilderImpl & io_pcm_data_format (::fuchsia_hardware_audio::wire::SampleFormat elem)

The data format over the transport for linear samples.

Ignored for non-linear coding formats.

Optional.

SIGNED indicates 2's complement sign encoding.

FLOAT is not supported.

bool has_io_pcm_sample_payload_msb_position ()
void clear_io_pcm_sample_payload_msb_position ()

Clears the io_pcm_sample_payload_msb_position field.

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

O(number_of_fields) complexity.

uint8_t & io_pcm_sample_payload_msb_position ()

For linear samples, indicates how many bit positions the MSB of the sample is away

from the MSB of the data.

Ignored for non-linear coding formats.

Optional.

Default: 0.

BuilderImpl & io_pcm_sample_payload_msb_position (uint8_t elem)

For linear samples, indicates how many bit positions the MSB of the sample is away

from the MSB of the data.

Ignored for non-linear coding formats.

Optional.

Default: 0.

bool has_path ()
void clear_path ()

Clears the path field.

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

O(number_of_fields) complexity.

::fuchsia_bluetooth_bredr::wire::DataPath & path ()

The data transport.

Required.

BuilderImpl & path (::fuchsia_bluetooth_bredr::wire::DataPath elem)

The data transport.

Required.

bool has_max_tx_data_size ()
void clear_max_tx_data_size ()

Clears the max_tx_data_size field.

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

O(number_of_fields) complexity.

uint16_t & max_tx_data_size ()

Indicates the maximum data buffer size that may be sent.

Optional. Only present after a connection has successfully been connected. Ignored when

requesting a connection.

BuilderImpl & max_tx_data_size (uint16_t elem)

Indicates the maximum data buffer size that may be sent.

Optional. Only present after a connection has successfully been connected. Ignored when

requesting a connection.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_bluetooth_bredr::wire::ScoConnectionParameters, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_bluetooth_bredr::wire::ScoConnectionParameters>> && frame)

Records