class Volume

Defined at line 805 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/cpp/fidl/fuchsia.settings/cpp/natural_types.h

Public Methods

void Volume (Storage_ storage)
void Volume ()

Defined at line 810 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/cpp/fidl/fuchsia.settings/cpp/natural_types.h

void Volume (Volume && )

Defined at line 811 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/cpp/fidl/fuchsia.settings/cpp/natural_types.h

void Volume (const Volume & other)
Volume & operator= (Volume && )

Defined at line 812 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/cpp/fidl/fuchsia.settings/cpp/natural_types.h

Volume & operator= (const Volume & other)
bool operator== (const Volume & other)
bool operator!= (const Volume & other)
bool IsEmpty ()
const std::optional<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.

::std::optional<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.

Volume & level (std::optional<float> value)

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.

const std::optional<bool> & muted ()

True if the volume should be muted. If this is true, then the volume is silent,

regardless of `level`.

::std::optional<bool> & muted ()

True if the volume should be muted. If this is true, then the volume is silent,

regardless of `level`.

Volume & muted (std::optional<bool> value)

True if the volume should be muted. If this is true, then the volume is silent,

regardless of `level`.

void Volume (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalTableCodingTraits