---
title: "inspectCommand(_:)"
framework: IOUSBHost
role: symbol
role_heading: Instance Method
platforms: [Mac Catalyst 14.0+, macOS 10.15+]
path: "iousbhost/iousbhostciendpointstatemachine/inspectcommand(_:)"
---

# inspectCommand(_:)

## Declaration

```swift
func inspectCommand(_ command: UnsafePointer<IOUSBHostCIMessage>) throws
```

## See Also

### Instance Methods

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