template <>
class Server
Defined at line 261 of file fidling/gen/sdk/fidl/fuchsia.virtualaudio/fuchsia.virtualaudio/cpp/fidl/fuchsia.virtualaudio/cpp/natural_messaging.h
Public Methods
void GetDefaultConfiguration (GetDefaultConfigurationRequest & request, GetDefaultConfigurationCompleter::Sync & completer)
Returns the default configuration for the given device type and direction.
void AddDevice (AddDeviceRequest & request, AddDeviceCompleter::Sync & completer)
Adds a device to the device tree.
The device lives until the `Device` FIDL channel is closed.
void GetNumDevices (GetNumDevicesCompleter::Sync & completer)
Returns the number of active input and output devices and devices with unspecified
direction.
void RemoveAll (RemoveAllCompleter::Sync & completer)
Synchronously remove all all active input and output devices.
void Server ()
Defined at line 264 of file fidling/gen/sdk/fidl/fuchsia.virtualaudio/fuchsia.virtualaudio/cpp/fidl/fuchsia.virtualaudio/cpp/natural_messaging.h
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 265 of file fidling/gen/sdk/fidl/fuchsia.virtualaudio/fuchsia.virtualaudio/cpp/fidl/fuchsia.virtualaudio/cpp/natural_messaging.h