template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 1308 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/cpp/fidl/fuchsia.settings/cpp/wire_types.h
Public Methods
::fuchsia_settings::wire::Volume Build ()
Build and return the table. The builder should not be used after this.
bool has_level ()
void clear_level ()
Clears the level field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
float & level ()
The volume level ranged [0.0, 1.0]. The level maps to a dbfs value from a volume
curve in the setting service. Not a number (NaN), infinity or negative infinity
will cause SetVolume to fail with INVALID_VALUE.
BuilderImpl & level (float elem)
The volume level ranged [0.0, 1.0]. The level maps to a dbfs value from a volume
curve in the setting service. Not a number (NaN), infinity or negative infinity
will cause SetVolume to fail with INVALID_VALUE.
bool has_muted ()
void clear_muted ()
Clears the muted field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
bool & muted ()
True if the volume should be muted. If this is true, then the volume is silent,
regardless of `level`.
BuilderImpl & muted (bool elem)
True if the volume should be muted. If this is true, then the volume is silent,
regardless of `level`.
Protected Methods
void WireTableBaseBuilder< ::fuchsia_settings::wire::Volume, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_settings::wire::Volume>> && frame)