template <>

class NaturalClientImpl

Defined at line 529 of file fidling/gen/sdk/fidl/fuchsia.media.audio/fuchsia.media.audio/cpp/fidl/fuchsia.media.audio/cpp/natural_messaging.h

Public Methods

::fit::result< ::fidl::OneWayError> SetVolume (const ::fidl::Request< ::fuchsia_media_audio::VolumeControl::SetVolume> & request)

Sets the volume of the audio element to the given value in

[0.0, 1.0]. If the value is provided is outside of [0.0, 1.0],

the value is clamped before application.

::fit::result< ::fidl::OneWayError> SetMute (const ::fidl::Request< ::fuchsia_media_audio::VolumeControl::SetMute> & request)

Sets whether the controlled element is muted. Mute is not the same

as setting volume to 0.0; volume will persist for the duration of

a mute. If volume was 0.5 before mute, volume will resume at 0.5

following unmute.