class Volume
Defined at line 1561 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h
Public Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
const 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.
Defined at line 1570 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h
bool has_level ()
Defined at line 1574 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h
float * mutable_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.
Defined at line 1581 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h
void clear_level ()
Defined at line 1589 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h
const bool & muted ()
True if the volume should be muted. If this is true, then the volume is silent,
regardless of `level`.
Defined at line 1599 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h
bool has_muted ()
Defined at line 1603 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h
bool * mutable_muted ()
True if the volume should be muted. If this is true, then the volume is silent,
regardless of `level`.
Defined at line 1609 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h
void clear_muted ()
Defined at line 1617 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h
Volume & set_level (float _value)
Volume & set_muted (bool _value)
void Volume ()
void Volume (Volume && other)
void ~Volume ()
Volume & operator= (Volume && other)
::std::unique_ptr<Volume> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, Volume * _value, size_t _offset)
zx_status_t Clone (Volume * _result)