template <>
class Server
Defined at line 623 of file fidling/gen/sdk/fidl/fuchsia.media.audio/fuchsia.media.audio/cpp/fidl/fuchsia.media.audio/cpp/natural_messaging.h
Public Methods
void Server ()
Defined at line 626 of file fidling/gen/sdk/fidl/fuchsia.media.audio/fuchsia.media.audio/cpp/fidl/fuchsia.media.audio/cpp/natural_messaging.h
void SetVolume (SetVolumeRequest & request, SetVolumeCompleter::Sync & completer)
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.
void SetMute (SetMuteRequest & request, SetMuteCompleter::Sync & completer)
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.
Handler bind_handler (async_dispatcher_t * dispatcher)
|bind_handler| returns a handler that binds incoming connections to this
server implementation.
The returned handler borrows the server instance.
The server must outlive the provided |dispatcher|. Only after
the dispatcher is shutdown will it be safe to destroy the servers.
The server should not be moved.
void ~Server ()
Defined at line 627 of file fidling/gen/sdk/fidl/fuchsia.media.audio/fuchsia.media.audio/cpp/fidl/fuchsia.media.audio/cpp/natural_messaging.h