template <>

class NaturalClientImpl

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

Public Methods

::fidl::internal::NaturalThenable< ::fuchsia_hardware_usb_peripheral::Device::SetConfiguration> SetConfiguration (const ::fidl::Request< ::fuchsia_hardware_usb_peripheral::Device::SetConfiguration> & request)

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.

::fidl::internal::NaturalThenable< ::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.

::fit::result< ::fidl::OneWayError> SetStateChangeListener (::fidl::Request< ::fuchsia_hardware_usb_peripheral::Device::SetStateChangeListener> request)

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