template <>

class WireSyncClientImpl

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

Methods to make a sync FIDL call directly on an unowned handle or a

const reference to a |::fidl::ClientEnd

<

::fuchsia_audio_device::Registry>|,

avoiding setting up a client.

Public Methods

::fidl::WireResult< ::fuchsia_audio_device::Registry::WatchDevicesAdded> WatchDevicesAdded ()

Register for notification when one or more devices are added.

The `devices` vector will always contain at least one `Info` entry.

Allocates 16 bytes of request buffer on the stack. Response is heap-allocated.

::fidl::WireResult< ::fuchsia_audio_device::Registry::WatchDeviceRemoved> WatchDeviceRemoved ()

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.

Allocates 16 bytes of request buffer on the stack. Response is heap-allocated.

::fidl::WireResult< ::fuchsia_audio_device::Registry::CreateObserver> CreateObserver (::fuchsia_audio_device::wire::RegistryCreateObserverRequest RegistryCreateObserverRequest)

Request an `Observer` for the specified device.

Allocates 56 bytes of request buffer on the stack. Response is heap-allocated.