template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 1960 of file fidling/gen/sdk/fidl/fuchsia.hardware.bluetooth/fuchsia.hardware.bluetooth/cpp/fidl/fuchsia.hardware.bluetooth/cpp/wire_types.h
Public Methods
::fuchsia_hardware_bluetooth::wire::LegacyAdvertisingState Build ()
Build and return the table. The builder should not be used after this.
bool has_enabled ()
void clear_enabled ()
Clears the enabled field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
bool & enabled ()
True if advertising has been enabled using the HCI_LE_Set_Advertising_Enable command.
This field is always present.
BuilderImpl & enabled (bool elem)
True if advertising has been enabled using the HCI_LE_Set_Advertising_Enable command.
This field is always present.
bool has_type ()
void clear_type ()
Clears the type field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_hardware_bluetooth::wire::LegacyAdvertisingType & type ()
The most recently configured advertising type. This field is always present. Defaults to
[`fuchsia.hardware.bluetooth/LegacyAdvertisingType.ADV_IND`].
BuilderImpl & type (::fuchsia_hardware_bluetooth::wire::LegacyAdvertisingType elem)
The most recently configured advertising type. This field is always present. Defaults to
[`fuchsia.hardware.bluetooth/LegacyAdvertisingType.ADV_IND`].
bool has_address_type ()
void clear_address_type ()
Clears the address_type field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_bluetooth::wire::AddressType & address_type ()
The LE address type being used for advertising. This field is always present. Defaults to
[`fuchsia.bluetooth/AddressType.PUBLIC`].
BuilderImpl & address_type (::fuchsia_bluetooth::wire::AddressType elem)
The LE address type being used for advertising. This field is always present. Defaults to
[`fuchsia.bluetooth/AddressType.PUBLIC`].
bool has_interval_min ()
void clear_interval_min ()
Clears the interval_min field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint16_t & interval_min ()
The host-specified advertising interval range parameters. Present only if configured.
BuilderImpl & interval_min (uint16_t elem)
The host-specified advertising interval range parameters. Present only if configured.
bool has_interval_max ()
void clear_interval_max ()
Clears the interval_max field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint16_t & interval_max ()
Getter for interval_max.
BuilderImpl & interval_max (uint16_t elem)
Setter for interval_max.
bool has_advertising_data ()
void clear_advertising_data ()
Clears the advertising_data field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_hardware_bluetooth::wire::AdvertisingData & advertising_data ()
Any configured advertising and scan response data. Present only if either field is non-zero.
BuilderImpl & advertising_data (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_hardware_bluetooth::wire::AdvertisingData>> elem)
Any configured advertising and scan response data. Present only if either field is non-zero.
bool has_scan_response ()
void clear_scan_response ()
Clears the scan_response field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_hardware_bluetooth::wire::AdvertisingData & scan_response ()
Getter for scan_response.
BuilderImpl & scan_response (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_hardware_bluetooth::wire::AdvertisingData>> elem)
Setter for scan_response.
Protected Methods
void WireTableBaseBuilder< ::fuchsia_hardware_bluetooth::wire::LegacyAdvertisingState, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_bluetooth::wire::LegacyAdvertisingState>> && frame)