---
title: "respond(toCommand:status:)"
framework: IOUSBHost
role: symbol
role_heading: Instance Method
platforms: [Mac Catalyst 14.0+, macOS 10.15+]
path: "iousbhost/iousbhostciendpointstatemachine/respond(tocommand:status:)"
---

# respond(toCommand:status:)

## Declaration

```swift
func respond(toCommand command: UnsafePointer<IOUSBHostCIMessage>, status: IOUSBHostCIMessageStatus) throws
```

## See Also

### Instance Methods

- [enqueueTransferCompletion(for:status:transferLength:)](iousbhost/iousbhostciendpointstatemachine/enqueuetransfercompletion(for:status:transferlength:).md)
- [inspectCommand(_:)](iousbhost/iousbhostciendpointstatemachine/inspectcommand(_:).md)
- [processDoorbell(_:)](iousbhost/iousbhostciendpointstatemachine/processdoorbell(_:).md)
