template <>
class Server
Defined at line 934 of file fidling/gen/sdk/fidl/fuchsia.audio.device/fuchsia.audio.device/cpp/fidl/fuchsia.audio.device/cpp/natural_messaging.h
Public Methods
void Server ()
Defined at line 937 of file fidling/gen/sdk/fidl/fuchsia.audio.device/fuchsia.audio.device/cpp/fidl/fuchsia.audio.device/cpp/natural_messaging.h
void WatchDevicesAdded (WatchDevicesAddedCompleter::Sync & completer)
Register for notification when one or more devices are added.
The `devices` vector will always contain at least one `Info` entry.
void WatchDeviceRemoved (WatchDeviceRemovedCompleter::Sync & completer)
Register for notification when an (active, added) device is removed.
Because the method only notifies of one removal, upon completion it
should immediately be re-called, in case other removals have occurred.
Calls to this method will pend until the removal of a device that was
included in a previous `WatchDevicesAdded` response.
void CreateObserver (CreateObserverRequest & request, CreateObserverCompleter::Sync & completer)
Request an `Observer` for the specified device.
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 938 of file fidling/gen/sdk/fidl/fuchsia.audio.device/fuchsia.audio.device/cpp/fidl/fuchsia.audio.device/cpp/natural_messaging.h