class SetInterface
Defined at line 74 of file fidling/gen/sdk/fidl/fuchsia.hardware.usb.dci/fuchsia.hardware.usb.dci/cpp/fidl/fuchsia.hardware.usb.dci/cpp/markers.h
Bind to the callback interface (`UsbDciInterface`) implemented by `usb-peripheral`.
The controller uses this channel to dispatch control transfers and connection events.
Must be called before `StartController`.
If the client closes its end of the `interface` channel, the DCI server must automatically
stop the controller if it is running (performing soft disconnect from host if connected),
disable all endpoints, and abort any pending requests, sending completion events with
`ZX_ERR_CANCELED`.
The DCI driver may call methods on `UsbDciInterface` at any point after `StartController` is
called, up until `StopController` completes. It does not call `UsbDciInterface` methods
synchronously while handling a `UsbDci` request.
* error:
* `ZX_ERR_INVALID_ARGS` if the interface handle is invalid.
* `ZX_ERR_ALREADY_BOUND` if a callback interface is already bound.
* `ZX_ERR_BAD_STATE` if called while the controller is already running.
Public Members
static const bool kHasClientToServer
static const bool kHasClientToServerBody
static const bool kHasServerToClient
static const bool kHasServerToClientBody
static const bool kHasNonEmptyUserFacingResponse
static const bool kHasDomainError
static const bool kHasFrameworkError
static const uint64_t kOrdinal