template <>

class WireSyncBufferClientImpl

Defined at line 913 of file fidling/gen/sdk/fidl/fuchsia.hardware.usb.peripheral/fuchsia.hardware.usb.peripheral/cpp/fidl/fuchsia.hardware.usb.peripheral/cpp/wire_messaging.h

Public Methods

::fidl::WireUnownedResult< ::fuchsia_hardware_usb_peripheral::Device::SetConfiguration> SetConfiguration (const ::fuchsia_hardware_usb_peripheral::wire::DeviceDescriptor & device_desc, ::fidl::VectorView< ::fidl::VectorView< ::fuchsia_hardware_usb_peripheral::wire::FunctionDescriptor>> config_descriptors)

Sets the device's descriptors, adds the functions and creates the child devices for the

configuration's interfaces.

At least one function descriptor must be provided.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::WireUnownedResult< ::fuchsia_hardware_usb_peripheral::Device::ClearFunctions> ClearFunctions ()

Tells the device to remove the child devices for the configuration's interfaces

and reset the list of functions to empty.

The caller should wait for the `FunctionsCleared` event.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::OneWayStatus SetStateChangeListener (::fidl::ClientEnd< ::fuchsia_hardware_usb_peripheral::Events> && listener)

Adds a state change listener that is invoked when a state change completes.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.