template <>

class WireWeakOnewayClientImpl

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

Public Methods

::fidl::OneWayStatus SetVolume (float volume)

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.

Allocates 40 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::OneWayStatus SetMute (bool mute)

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.

Allocates 40 bytes of message buffer on the stack. No heap allocation necessary.